Passed
Push — master ( b4dc14...6ba977 )
by Michael
04:51
created
src/Response/AbstractJsonApiView.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @var Link[]
40 40
      */
41
-    protected $documentLinks = [];
41
+    protected $documentLinks = [ ];
42 42
 
43 43
     /**
44 44
      * Set a callback to call after a resource-object has created.
@@ -109,11 +109,11 @@  discard block
 block discarded – undo
109 109
     {
110 110
         $name = $link->getName();
111 111
 
112
-        if (isset($this->documentLinks[$name])) {
112
+        if (isset($this->documentLinks[ $name ])) {
113 113
             throw new \LogicException(sprintf('Link "%s" already added to document.'));
114 114
         }
115 115
 
116
-        $this->documentLinks[$name] = $link;
116
+        $this->documentLinks[ $name ] = $link;
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.