From 03ccea8978b3165f6c8455d895a9edac370b6c41 Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Fri, 4 Mar 2022 17:36:02 +0100 Subject: [PATCH] fix code style --- src/PendingCalls/TestCall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);