[Config] Minor fix

This commit is contained in:
Nicolas Grekas 2017-07-19 09:37:29 +02:00
parent cb65cf6945
commit fa0b9428c5

View File

@ -149,7 +149,7 @@ class ClassExistenceResource implements SelfCheckingResourceInterface, \Serializ
$props = array( $props = array(
'file' => $trace[$i]['file'], 'file' => $trace[$i]['file'],
'line' => $trace[$i]['line'], 'line' => $trace[$i]['line'],
'trace' => array_slice($trace, 0, 1 + $i), 'trace' => array_slice($trace, 1 + $i),
); );
foreach ($props as $p => $v) { foreach ($props as $p => $v) {