Skip to content

Commit

Permalink
Index arguments from 1 in ExceptionDumper
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrukowski committed Dec 4, 2018
1 parent 36f7c22 commit a4d4489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subdumpers/Helpers/StackTraceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static function getArgs($stackTraceRow)
$params = $function ? $function->getParameters() : array();
$args = $stackTraceRow['args'];

$k = -1;
$k = 0;
while (\count($args) > 0) {
/** @var \ReflectionParameter|null $param */
$param = \array_shift($params);
Expand Down

0 comments on commit a4d4489

Please sign in to comment.