From f3dbc30505f187a3c524a9475988851a8ae3e801 Mon Sep 17 00:00:00 2001 From: Ruslan Kostikov Date: Wed, 8 May 2019 13:54:04 +0300 Subject: [PATCH] Fixed issue when $index is string --- src/Stacktrace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stacktrace.php b/src/Stacktrace.php index cf0e68e46..3b0652246 100644 --- a/src/Stacktrace.php +++ b/src/Stacktrace.php @@ -311,7 +311,7 @@ protected function getFrameArgumentsValues(array $frame): array $result = array_map([$this, 'serializeArgument'], $frame['args']); } else { foreach (array_values($frame['args']) as $index => $argument) { - $result['param' . ($index + 1)] = $this->serializeArgument($argument); + $result['param' . ((int)$index + 1)] = $this->serializeArgument($argument); } }