updated core and modules
This commit is contained in:
@@ -35,9 +35,6 @@ class PassConfig
|
||||
private $optimizationPasses;
|
||||
private $removingPasses;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->mergePass = new MergeExtensionConfigurationPass();
|
||||
@@ -58,8 +55,8 @@ class PassConfig
|
||||
|
||||
$this->removingPasses = array(
|
||||
new RemovePrivateAliasesPass(),
|
||||
new RemoveAbstractDefinitionsPass(),
|
||||
new ReplaceAliasByActualDefinitionPass(),
|
||||
new RemoveAbstractDefinitionsPass(),
|
||||
new RepeatedPass(array(
|
||||
new AnalyzeServiceReferencesPass(),
|
||||
new InlineServiceDefinitionsPass(),
|
||||
@@ -102,8 +99,7 @@ class PassConfig
|
||||
throw new InvalidArgumentException(sprintf('Invalid type "%s".', $type));
|
||||
}
|
||||
|
||||
$passes = &$this->$property;
|
||||
$passes[] = $pass;
|
||||
$this->{$property}[] = $pass;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -157,9 +153,9 @@ class PassConfig
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all passes for the Merge pass.
|
||||
* Gets the Merge pass.
|
||||
*
|
||||
* @return array An array of passes
|
||||
* @return CompilerPassInterface The merge pass
|
||||
*/
|
||||
public function getMergePass()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user