@@ -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 | |
@@ -29,7 +29,7 @@ discard block  | 
                                                    ||
| 29 | 29 | */  | 
                                                        
| 30 | 30 | public function find(string $modelClass, string $id): \Closure  | 
                                                        
| 31 | 31 |      { | 
                                                        
| 32 | -        return function () use ($modelClass, $id) { | 
                                                        |
| 32 | +        return function() use ($modelClass, $id) { | 
                                                        |
| 33 | 33 | return $this->getRepositoryByClass($modelClass)->find($id);  | 
                                                        
| 34 | 34 | };  | 
                                                        
| 35 | 35 | }  | 
                                                        
@@ -41,7 +41,7 @@ discard block  | 
                                                    ||
| 41 | 41 | */  | 
                                                        
| 42 | 42 | public function findOneBy(string $modelClass, array $criteria): \Closure  | 
                                                        
| 43 | 43 |      { | 
                                                        
| 44 | -        return function () use ($modelClass, $criteria) { | 
                                                        |
| 44 | +        return function() use ($modelClass, $criteria) { | 
                                                        |
| 45 | 45 | return $this->getRepositoryByClass($modelClass)->findOneBy($criteria);  | 
                                                        
| 46 | 46 | };  | 
                                                        
| 47 | 47 | }  | 
                                                        
@@ -61,7 +61,7 @@ discard block  | 
                                                    ||
| 61 | 61 | int $limit = null,  | 
                                                        
| 62 | 62 | int $offset = null  | 
                                                        
| 63 | 63 |      ): \Closure { | 
                                                        
| 64 | -        return function () use ($modelClass, $criteria, $orderBy, $limit, $offset) { | 
                                                        |
| 64 | +        return function() use ($modelClass, $criteria, $orderBy, $limit, $offset) { | 
                                                        |
| 65 | 65 | return $this->getRepositoryByClass($modelClass)->findBy($criteria, $orderBy, $limit, $offset);  | 
                                                        
| 66 | 66 | };  | 
                                                        
| 67 | 67 | }  |