[AsseticBundle] coding standard and comment tweaks
This commit is contained in:
parent
7a7b448680
commit
7dfe286897
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user