Completed
Pull Request — master (#9)
by Hugo
01:44
created
src/Util/UploadFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function getContent(): string
45 45
     {
46 46
         if (null === $this->content) {
47
-            set_error_handler(function ($type, $msg) use (&$error) { $error = $msg; });
47
+            set_error_handler(function($type, $msg) use (&$error) { $error = $msg; });
48 48
             $content = file_get_contents($this->path);
49 49
             restore_error_handler();
50 50
 
Please login to merge, or discard this patch.
src/Client/GraphQLClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,12 +78,12 @@
 block discarded – undo
78 78
         try {
79 79
             $response = $this->sendRequest($request);
80 80
             $contents = $this->extractJson($request, $response);
81
-        } catch (AuthenticationException $e) {
81
+        }catch (AuthenticationException $e) {
82 82
             $this->authClient->auth(true);
83 83
             try {
84 84
                 $response = $this->sendRequest($request);
85 85
                 $contents = $this->extractJson($request, $response);
86
-            } catch (AuthenticationException $e) {
86
+            }catch (AuthenticationException $e) {
87 87
                 throw $e;
88 88
             }
89 89
         }
Please login to merge, or discard this patch.