Passed
Push — master ( b6e803...52a2f7 )
by Evgenii
03:17
created
src/Models/DalliApiBody.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,11 +28,13 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct(?string $apiMethodName, ?string $authToken)
30 30
     {
31
-        if (empty($apiMethodName))
32
-            throw new EmptyApiMethodException();
31
+        if (empty($apiMethodName)) {
32
+                    throw new EmptyApiMethodException();
33
+        }
33 34
 
34
-        if (empty($authToken))
35
-            throw new EmptyTokenException();
35
+        if (empty($authToken)) {
36
+                    throw new EmptyTokenException();
37
+        }
36 38
 
37 39
         $this->apiMethodName = $apiMethodName;
38 40
         $this->authToken = $authToken;
Please login to merge, or discard this patch.