Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit afad113

Browse filesBrowse files
ornicarfabpot
authored andcommitted
[HttpKernel] Fix notice in Kernel
1 parent 86631a9 commit afad113
Copy full SHA for afad113

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/Kernel.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Kernel.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ protected function initializeBundles()
372372
}
373373

374374
// look for orphans
375-
if (count($diff = array_diff(array_keys($directChildren), array_keys($this->bundles)))) {
375+
if (count($diff = array_values(array_diff(array_keys($directChildren), array_keys($this->bundles))))) {
376376
throw new \LogicException(sprintf('Bundle "%s" extends bundle "%s", which is not registered.', $directChildren[$diff[0]], $diff[0]));
377377
}
378378

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.