Passed
Branch master (4c6504)
by Jan Willem
02:23
created
src/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $response = $this->authenticate($hostname, $client_id, $client_secret, $username, $password, $handler);
65 65
 
66
-        if (! isset($response['access_token']) || ! isset($response['subdomain'])) {
66
+        if (!isset($response['access_token']) || !isset($response['subdomain'])) {
67 67
             throw new Exception("Incorrect response from Authentication: 'access_token' or 'subdomain' is missing.");
68 68
         }
69 69
 
@@ -544,8 +544,8 @@  discard block
 block discarded – undo
544 544
     {
545 545
         return http_build_query(
546 546
             array_map(
547
-                function ($parameter) {
548
-                    if (! is_bool($parameter)) {
547
+                function($parameter) {
548
+                    if (!is_bool($parameter)) {
549 549
                         return $parameter;
550 550
                     }
551 551
 
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
      */
566 566
     protected function jsonValidator($data = null):bool
567 567
     {
568
-        if (! empty($data)) {
568
+        if (!empty($data)) {
569 569
             @json_decode($data);
570 570
 
571 571
             return json_last_error() === JSON_ERROR_NONE;
Please login to merge, or discard this patch.