Passed
Push — master ( 0fda62...cc7033 )
by Ondřej
04:04
created
src/Ivory/Type/TypeDictionary.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
             // necessary for the forward reference to be valid once the aliased type finally appears in the type map
329 329
             $this->qualNameTypeMap[$schemaName] = [];
330 330
         }
331
-        $this->typeAliases[$alias] =& $this->qualNameTypeMap[$schemaName][$typeName];
331
+        $this->typeAliases[$alias] = & $this->qualNameTypeMap[$schemaName][$typeName];
332 332
     }
333 333
 
334 334
     /**
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
         foreach ($this->typeSearchPath as $schemaName) {
346 346
             foreach (($this->qualNameTypeMap[$schemaName] ?? []) as $typeName => $type) {
347 347
                 if (!isset($this->searchedNameCache[$typeName])) {
348
-                    $this->searchedNameCache[$typeName] =& $this->qualNameTypeMap[$schemaName][$typeName];
348
+                    $this->searchedNameCache[$typeName] = & $this->qualNameTypeMap[$schemaName][$typeName];
349 349
                 }
350 350
             }
351 351
         }
Please login to merge, or discard this patch.