@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function get(): array |
32 | 32 | { |
33 | - return array_map(function ($element) { |
|
33 | + return array_map(function($element) { |
|
34 | 34 | $item = clone $this; |
35 | 35 | $item->updateOrmModel($element); |
36 | 36 | return $item; |
@@ -82,7 +82,7 @@ |
||
82 | 82 | { |
83 | 83 | $this->processModels(); |
84 | 84 | |
85 | - $this->models = array_filter($this->models, function ($m) use ($model) { |
|
85 | + $this->models = array_filter($this->models, function($m) use ($model) { |
|
86 | 86 | return $m !== $model; |
87 | 87 | }); |
88 | 88 |
@@ -92,7 +92,7 @@ |
||
92 | 92 | */ |
93 | 93 | public function get(): ModelCollection |
94 | 94 | { |
95 | - $models = array_map(function ($item) { |
|
95 | + $models = array_map(function($item) { |
|
96 | 96 | return wrapToModel($item, static::class); |
97 | 97 | }, $this->ormInstance->get()); |
98 | 98 |