@@ -12,8 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | public function model() |
| 14 | 14 | { |
| 15 | - if (!isset($this->eloquent) || !is_string($this->eloquent)) |
|
| 16 | - throw new RepositoryException("Model not defined on " . static::class); |
|
| 15 | + if (!isset($this->eloquent) || !is_string($this->eloquent)) { |
|
| 16 | + throw new RepositoryException("Model not defined on " . static::class); |
|
| 17 | + } |
|
| 17 | 18 | return $this->eloquent; |
| 18 | 19 | } |
| 19 | 20 | |