@@ -67,7 +67,7 @@ |
||
| 67 | 67 | $modelToJoin = unserialize($nextItem['model']); |
| 68 | 68 | $switch = $nextItem['switch']; |
| 69 | 69 | |
| 70 | - $queryBuilder->join(function ($item) use ($currentItem, $modelToJoin, $switch, $level) { |
|
| 70 | + $queryBuilder->join(function($item) use ($currentItem, $modelToJoin, $switch, $level) { |
|
| 71 | 71 | |
| 72 | 72 | $sleekModel = new self( |
| 73 | 73 | $modelToJoin->table, |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | public function get(): array |
| 38 | 38 | { |
| 39 | 39 | try { |
| 40 | - return array_map(function ($element) { |
|
| 40 | + return array_map(function($element) { |
|
| 41 | 41 | $item = clone $this; |
| 42 | 42 | $item->updateOrmModel($element); |
| 43 | 43 | return $item; |