Skip to content

Commit a393697

Browse files
committed
bug symfony#23581 [Config] Minor fix (nicolas-grekas)
This PR was merged into the 3.3 branch. Discussion ---------- [Config] Minor fix | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - My bad. BTW @javiereguiluz I confirm my diagnosis on symfony#23573 Here is the last exception in that error page: ![capture du 2017-07-19 09-37-41](https://user-images.githubusercontent.com/243674/28355877-2bc71b5e-6c66-11e7-8e53-a88c42bec4e5.png) Commits ------- fa0b942 [Config] Minor fix
2 parents 2d8fb99 + fa0b942 commit a393697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Config/Resource/ClassExistenceResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private static function throwOnRequiredClass($class)
149149
$props = array(
150150
'file' => $trace[$i]['file'],
151151
'line' => $trace[$i]['line'],
152-
'trace' => array_slice($trace, 0, 1 + $i),
152+
'trace' => array_slice($trace, 1 + $i),
153153
);
154154

155155
foreach ($props as $p => $v) {

0 commit comments

Comments
 (0)