Skip to content

Commit e8d96b6

Browse files
authored
Change for PSR-2 Coding Standard compliance
1 parent 77c39f1 commit e8d96b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/EloquentDataTable.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ protected function resolveRelationColumn($column)
131131
protected function isMorphRelation($relation)
132132
{
133133
$isMorph = false;
134-
if ($relation !== null && $relation !== '')
135-
{
134+
if ($relation !== null && $relation !== '') {
136135
$relationParts = explode('.', $relation);
137136
$firstRelation = array_shift($relationParts);
138137
$isMorph = $this->query->getModel()->$firstRelation() instanceof MorphTo;

0 commit comments

Comments
 (0)