[AsseticBundle] coding standard and comment tweaks

This commit is contained in:
Kris Wallsmith 2011-04-26 00:18:22 -07:00
parent 7a7b448680
commit 7dfe286897
2 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,9 @@ abstract class Bundle extends ContainerAware implements BundleInterface
$this->extension = class_exists($class) ? new $class() : false;
}
return $this->extension ?: null;
if ($this->extension) {
return $this->extension;
}
}
/**

View File

@ -42,7 +42,7 @@ interface BundleInterface
/**
* Returns the container extension that should be implicitly loaded.
*
* @return ExtensionInterface|null The default extension
* @return ExtensionInterface|null The default extension or null if there is none
*/
function getContainerExtension();