diff --git a/src/PendingCalls/TestCall.php b/src/PendingCalls/TestCall.php index b2266879..f9e786c1 100644 --- a/src/PendingCalls/TestCall.php +++ b/src/PendingCalls/TestCall.php @@ -49,7 +49,7 @@ final class TestCall { if (is_int($exception)) { $exceptionCode = $exception; - } else if (class_exists($exception)) { + } elseif (class_exists($exception)) { $this->testCaseMethod ->proxies ->add(Backtrace::file(), Backtrace::line(), 'expectException', [$exception]);