Completed
Push — master ( d75d53...1bc299 )
by Kirill
9s
created
src/Support/Parser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             $class = $class->getParentClass();
52 52
         }
53 53
 
54
-        $this->properties = (array)call_user_func_array('array_merge', $declarations);
54
+        $this->properties = (array) call_user_func_array('array_merge', $declarations);
55 55
     }
56 56
 
57 57
     /**
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     {
84 84
         preg_match_all($this->getPattern($accessType), $docBlock, $matches, PREG_SET_ORDER);
85 85
 
86
-        return (array)$matches;
86
+        return (array) $matches;
87 87
     }
88 88
 
89 89
     /**
Please login to merge, or discard this patch.
src/Support/Declaration.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     private function getTypesFromDeclaration($originalTypesDeclaration)
58 58
     {
59
-        $types  = explode('|', mb_strtolower($originalTypesDeclaration));
59
+        $types = explode('|', mb_strtolower($originalTypesDeclaration));
60 60
 
61 61
         foreach ($types as $typeKey => &$typeName) {
62 62
             // Replace: Some[] => array
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @param $typeName
111
+     * @param string $typeName
112 112
      * @return array
113 113
      */
114 114
     private function getVarTypeAliases($typeName)
Please login to merge, or discard this patch.