diff --git a/framework/core/src/Api/Client.php b/framework/core/src/Api/Client.php
index c4ea6f965..2c5538adb 100644
--- a/framework/core/src/Api/Client.php
+++ b/framework/core/src/Api/Client.php
@@ -59,8 +59,9 @@ class Client
         }
 
         if (! ($controller instanceof ControllerInterface)) {
-            throw new InvalidArgumentException('Endpoint must be an instance of '
-                .ControllerInterface::class);
+            throw new InvalidArgumentException(
+                'Endpoint must be an instance of '.ControllerInterface::class
+            );
         }
 
         try {