Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
32 } | 32 } |
33 if (!$reflectionClass = $this->container->getReflectionClass($value->getClass(), false)) { | 33 if (!$reflectionClass = $this->container->getReflectionClass($value->getClass(), false)) { |
34 return $value; | 34 return $value; |
35 } | 35 } |
36 | 36 |
37 $alreadyCalledMethods = array(); | 37 $alreadyCalledMethods = []; |
38 | 38 |
39 foreach ($value->getMethodCalls() as list($method)) { | 39 foreach ($value->getMethodCalls() as list($method)) { |
40 $alreadyCalledMethods[strtolower($method)] = true; | 40 $alreadyCalledMethods[strtolower($method)] = true; |
41 } | 41 } |
42 | 42 |