@@ -46,6 +46,9 @@ discard block |
||
| 46 | 46 | self::$parsedFiles = []; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | + /** |
|
| 50 | + * @param Reflector $reflection |
|
| 51 | + */ |
|
| 49 | 52 | public function get($reflection) |
| 50 | 53 | { |
| 51 | 54 | if ($reflection instanceof ReflectionClass) |
@@ -151,6 +154,9 @@ discard block |
||
| 151 | 154 | return isset(self::$fields[$class][$field]) ? self::$fields[$class][$field] : false; |
| 152 | 155 | } |
| 153 | 156 | |
| 157 | + /** |
|
| 158 | + * @param string $fqn |
|
| 159 | + */ |
|
| 154 | 160 | private function processAnonymous(Reflector $reflection, $fqn) |
| 155 | 161 | { |
| 156 | 162 | if (!isset(self::$parsedFiles[$fqn])) |
@@ -173,6 +179,9 @@ discard block |
||
| 173 | 179 | return self::$parsedFiles[$fqn]; |
| 174 | 180 | } |
| 175 | 181 | |
| 182 | + /** |
|
| 183 | + * @param string $file |
|
| 184 | + */ |
|
| 176 | 185 | private function process($file, $fqn = false) |
| 177 | 186 | { |
| 178 | 187 | if (!isset(self::$parsedFiles[$file])) |
@@ -332,6 +341,9 @@ discard block |
||
| 332 | 341 | return $fqn; |
| 333 | 342 | } |
| 334 | 343 | |
| 344 | + /** |
|
| 345 | + * @param integer $max |
|
| 346 | + */ |
|
| 335 | 347 | private function getString($tokens, &$i, $max) |
| 336 | 348 | { |
| 337 | 349 | do |