Passed
Push — master ( 9234be...3143c1 )
by Arthur
20:30
created
src/Foundation/Abstracts/Repositories/Repository.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.