Passed
Push — master ( 9234be...3143c1 )
by Arthur
20:30
created
src/Foundation/Abstracts/Repositories/Repository.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
     public function model()
14 14
     {
15 15
         if (!isset($this->eloquent) || !is_string($this->eloquent))
16
-            throw new RepositoryException("Model not defined on " . static::class);
16
+            throw new RepositoryException("Model not defined on ".static::class);
17 17
         return $this->eloquent;
18 18
     }
19 19
 
20
-    public function resolve($id){
20
+    public function resolve($id) {
21 21
         if ($id instanceof $this->model) {
22 22
             return $id;
23 23
         }
Please login to merge, or discard this 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.
src/Modules/Proxy/Events/ProxyDeletedEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 class ProxyDeletedEvent extends Event implements ShouldBroadcast
18 18
 {
19
-    public $listeners = [];
19
+    public $listeners = [ ];
20 20
 
21 21
     /**
22 22
      * @var proxy
Please login to merge, or discard this patch.
src/Modules/Proxy/Events/ProxyCreatedEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 class ProxyCreatedEvent extends Event
16 16
 {
17
-    public $listeners = [];
17
+    public $listeners = [ ];
18 18
 
19 19
     /**
20 20
      * @var Proxy
Please login to merge, or discard this patch.