We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c39f1 commit e8d96b6Copy full SHA for e8d96b6
src/EloquentDataTable.php
@@ -131,8 +131,7 @@ protected function resolveRelationColumn($column)
131
protected function isMorphRelation($relation)
132
{
133
$isMorph = false;
134
- if ($relation !== null && $relation !== '')
135
- {
+ if ($relation !== null && $relation !== '') {
136
$relationParts = explode('.', $relation);
137
$firstRelation = array_shift($relationParts);
138
$isMorph = $this->query->getModel()->$firstRelation() instanceof MorphTo;
0 commit comments