@@ -312,7 +312,7 @@ |
||
312 | 312 | /** |
313 | 313 | * returns the namespace declared at the start of a file |
314 | 314 | * @param $filepath |
315 | - * @return bool |
|
315 | + * @return string|false |
|
316 | 316 | */ |
317 | 317 | private function getFileNamespace($filepath) { |
318 | 318 | $exists = preg_match('/<\?php.+?namespace ([^;]+)/si', file_get_contents($filepath), $match); |