diff --git a/src/PAGI/Client/Impl/MockedClientImpl.php b/src/PAGI/Client/Impl/MockedClientImpl.php index 3c64ce1..d0a7ece 100644 --- a/src/PAGI/Client/Impl/MockedClientImpl.php +++ b/src/PAGI/Client/Impl/MockedClientImpl.php @@ -124,7 +124,7 @@ private function assertCall($methodName, array $arguments) $count = count($args); for ($i = 0; $i < $count; $i++) { if (!isset($arguments[$i])) { - throw new MockedException("Missing argument number " . $i + 1); + throw new MockedException("Missing argument number " . ($i + 1)); } $arg = $arguments[$i]; if ($arg !== $args[$i]) {