diff --git a/src/PantherTestCaseTrait.php b/src/PantherTestCaseTrait.php
index <HASH>..<HASH> 100644
--- a/src/PantherTestCaseTrait.php
+++ b/src/PantherTestCaseTrait.php
@@ -158,11 +158,8 @@ trait PantherTestCaseTrait
             static::bootKernel($kernelOptions);
         }
 
-        if (\is_callable([self::class, 'getClient'])) {
-            $rm = new \ReflectionMethod(self::class, 'getClient');
-            if ($rm->isStatic()) {
-                return self::getClient(self::$pantherClient);
-            }
+        if (\is_callable([self::class, 'getClient']) && (new \ReflectionMethod(self::class, 'getClient'))->isStatic()) {
+            return self::getClient(self::$pantherClient);
         }
 
         return self::$pantherClient;
Merged change to a single line