Cleaned files

This commit is contained in:
Francis Besset
2011-07-14 17:45:03 +02:00
parent 7ddf05cec1
commit 51d1d28830
31 changed files with 428 additions and 499 deletions

View File

@ -61,11 +61,11 @@ class AnnotationFileLoader extends FileLoader
$path = $this->locator->locate($file);
$definition = new ServiceDefinition();
if ($class = $this->findClass($path)) {
$definition = $this->loader->load($class, $type);
}
return $definition;
}
@ -87,7 +87,7 @@ class AnnotationFileLoader extends FileLoader
*
* @param string $file A PHP file path
*
* @return string|false Full class name if found, false otherwise
* @return string|false Full class name if found, false otherwise
*/
protected function findClass($file)
{