We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -110,7 +110,7 @@ |
||
110 | 110 | // if there was an order set, this will be the last one (after all others were applied) |
111 | 111 | $orderBy = $this->crud->query->getQuery()->orders; |
112 | 112 | $hasOrderByPrimaryKey = false; |
113 | - collect($orderBy)->each(function ($item, $key) use ($hasOrderByPrimaryKey) { |
|
113 | + collect($orderBy)->each(function($item, $key) use ($hasOrderByPrimaryKey) { |
|
114 | 114 | if ($item['column'] == $this->crud->model->getKeyName()) { |
115 | 115 | $hasOrderByPrimaryKey = true; |
116 | 116 |
@@ -18,14 +18,14 @@ |
||
18 | 18 | |
19 | 19 | public static function bootHasParent() |
20 | 20 | { |
21 | - static::creating(function ($model) { |
|
21 | + static::creating(function($model) { |
|
22 | 22 | if ($model->parentHasHasChildrenTrait()) { |
23 | 23 | $model->forceFill( |
24 | 24 | [$model->getInheritanceColumn() => $model->classToAlias(get_class($model))] |
25 | 25 | ); |
26 | 26 | } |
27 | 27 | }); |
28 | - static::addGlobalScope(function ($query) { |
|
28 | + static::addGlobalScope(function($query) { |
|
29 | 29 | $instance = new static(); |
30 | 30 | if ($instance->parentHasHasChildrenTrait()) { |
31 | 31 | $query->where($instance->getTable().'.'.$instance->getInheritanceColumn(), $instance->classToAlias(get_class($instance))); |