Completed
Push — master ( 2b102d...adf918 )
by Kevin
04:41 queued 02:20
created
lib/Introspection/Introspector.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
         return $classes;
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $class
101
+     */
99 102
     protected function processClass($class)
100 103
     {
101 104
         try {
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
         return null;
138 141
     }
139 142
 
143
+    /**
144
+     * @param string $file
145
+     */
140 146
     protected function getClassNameInFile($file)
141 147
     {
142 148
         $namespace = $class = '';
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
                 && $tokens[$i][0] == T_STRING
151 151
             ) {
152 152
 
153
-                $class = $namespace . $tokens[$i][1];
153
+                $class = $namespace.$tokens[$i][1];
154 154
                 $this->logger->debug(sprintf('Extracted %s from %s', $class, $file));
155 155
                 return $class;
156 156
             } else if ($tokens[$i - 2][0] == T_NAMESPACE
@@ -158,10 +158,10 @@  discard block
 block discarded – undo
158 158
                 && $tokens[$i][0] == T_STRING) {
159 159
 
160 160
                 $plus = 0;
161
-                while ($tokens[$i+$plus] != ';') {
162
-                    $token = $tokens[$i+$plus];
161
+                while ($tokens[$i + $plus] != ';') {
162
+                    $token = $tokens[$i + $plus];
163 163
                     if ($token[0] == T_STRING) {
164
-                        $namespace .= $token[1] . '\\';
164
+                        $namespace .= $token[1].'\\';
165 165
                     }
166 166
                     $plus++;
167 167
                 }
Please login to merge, or discard this patch.