@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\Model; |
| 6 | 6 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | public function lazyFind(string $modelClass, string $id): \Closure |
| 80 | 80 | { |
| 81 | - return function () use ($modelClass, $id) { |
|
| 81 | + return function() use ($modelClass, $id) { |
|
| 82 | 82 | return $this->find($modelClass, $id); |
| 83 | 83 | }; |
| 84 | 84 | } |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | */ |
| 93 | 93 | public function lazyFindOneBy(string $modelClass, array $criteria, array $orderBy = null): \Closure |
| 94 | 94 | { |
| 95 | - return function () use ($modelClass, $criteria, $orderBy) { |
|
| 95 | + return function() use ($modelClass, $criteria, $orderBy) { |
|
| 96 | 96 | return $this->findOneBy($modelClass, $criteria, $orderBy); |
| 97 | 97 | }; |
| 98 | 98 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | int $limit = null, |
| 114 | 114 | int $offset = null |
| 115 | 115 | ): \Closure { |
| 116 | - return function () use ($modelClass, $criteria, $orderBy, $limit, $offset) { |
|
| 116 | + return function() use ($modelClass, $criteria, $orderBy, $limit, $offset) { |
|
| 117 | 117 | return $this->findBy($modelClass, $criteria, $orderBy, $limit, $offset); |
| 118 | 118 | }; |
| 119 | 119 | } |