[FrameworkBundle] fixed CS
This commit is contained in:
parent
c9c66db108
commit
3baebe4e3b
@ -137,7 +137,7 @@ EOF;
|
|||||||
require_once $file;
|
require_once $file;
|
||||||
@unlink($file);
|
@unlink($file);
|
||||||
|
|
||||||
$class = "$namespace\\$class";
|
$class = "$namespace\\$class";
|
||||||
|
|
||||||
return new $class($parent->getEnvironment(), $debug);
|
return new $class($parent->getEnvironment(), $debug);
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ class ContainerAwareEventDispatcher extends EventDispatcher
|
|||||||
throw new \InvalidArgumentException('Expected a string argument');
|
throw new \InvalidArgumentException('Expected a string argument');
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ((array)$events as $event) {
|
foreach ((array) $events as $event) {
|
||||||
// Prevent duplicate entries
|
// Prevent duplicate entries
|
||||||
$this->listenerIds[$event][$serviceId] = $priority;
|
$this->listenerIds[$event][$serviceId] = $priority;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user