SCA: removed unused variables
This commit is contained in:
parent
76b2541468
commit
e4466bf4f0
@ -1122,7 +1122,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$r = new \ReflectionClass($class = $parameterBag->resolveValue($definition->getClass()));
|
||||
$r = new \ReflectionClass($parameterBag->resolveValue($definition->getClass()));
|
||||
|
||||
$service = null === $r->getConstructor() ? $r->newInstance() : $r->newInstanceArgs($arguments);
|
||||
|
||||
|
@ -782,7 +782,7 @@ class YamlFileLoader extends FileLoader
|
||||
{
|
||||
if ($this->isLoadingInstanceof) {
|
||||
$keywords = self::$instanceofKeywords;
|
||||
} elseif ($throw = (isset($definition['resource']) || isset($definition['namespace']))) {
|
||||
} elseif (isset($definition['resource']) || isset($definition['namespace'])) {
|
||||
$keywords = self::$prototypeKeywords;
|
||||
} else {
|
||||
$keywords = self::$serviceKeywords;
|
||||
|
Reference in New Issue
Block a user