Passed
Pull Request — master (#34)
by Anatoly
04:29 queued 02:00
created
src/OpenApi/OpenApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     private function handleReferences() : void
196 196
     {
197
-        array_walk_recursive($this->documentation, function (&$value) {
197
+        array_walk_recursive($this->documentation, function(&$value) {
198 198
             if (!($value instanceof AbstractReference)) {
199 199
                 return;
200 200
             }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
             $ref = $value;
203 203
             $value = $ref->getComponentPath();
204 204
 
205
-            $component =& $this->documentation['components'][$ref->getComponentName()];
205
+            $component = & $this->documentation['components'][$ref->getComponentName()];
206 206
             if (isset($component[$ref->name])) {
207 207
                 return;
208 208
             }
Please login to merge, or discard this patch.