Skip to content

Commit

Permalink
minor #25854 [DI] compilation perf tweak (nicolas-grekas)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.3 branch.

Discussion
----------

[DI] compilation perf tweak

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | no
| New feature?  | n
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

![image](https://user-images.githubusercontent.com/243674/35181621-94c5c10a-fdc5-11e7-83fb-c640a0ed2fa9.png)

Commits
-------

ad8aff4 [DI] compilation perf tweak
  • Loading branch information
fabpot committed Jan 21, 2018
2 parents aae7998 + ad8aff4 commit bccab35
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ public function process(ContainerBuilder $container)
*/
protected function processValue($value, $isRoot = false)
{
if (is_array($value)) {
if (\is_array($value)) {
foreach ($value as $k => $v) {
if ($isRoot) {
$this->currentId = $k;
Expand Down

0 comments on commit bccab35

Please sign in to comment.