Passed
Branch master (60fd1a)
by Joshua
08:44 queued 05:56
created
Category
src/RestApi/Request/RestApiRequest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -99,14 +99,14 @@  discard block
 block discarded – undo
99 99
         $this->url = "{$this->baseUrl}/{$this->action}";
100 100
     }
101 101
 
102
-    public function get($action, $queryOptions = [])
102
+    public function get($action, $queryOptions = [ ])
103 103
     {
104 104
         $this->setRequestOptions($action, 'GET');
105 105
         try {
106 106
             $request = $this->client->get($this->url, [
107 107
                 'headers' => $this->getAuthorisationHeader(),
108 108
                 'query' => $queryOptions
109
-            ],  array());
109
+            ], array());
110 110
         } catch (RequestException $e) {
111 111
             if ($e->hasResponse()) {
112 112
                 return $this->getJsonResponse($e->getResponse());
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         return $this->getJsonResponse($request);
117 117
     }
118 118
 
119
-    public function post($action, $formData = [])
119
+    public function post($action, $formData = [ ])
120 120
     {
121 121
         $this->setRequestOptions($action, 'POST');
122 122
         try {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         return $this->getJsonResponse($request);
135 135
     }
136 136
 
137
-    public function put($action, $optionData = [])
137
+    public function put($action, $optionData = [ ])
138 138
     {
139 139
         $this->setRequestOptions($action, 'PUT');
140 140
         try {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         return $this->getJsonResponse($request);
153 153
     }
154 154
 
155
-    public function patch($action, $optionData = [])
155
+    public function patch($action, $optionData = [ ])
156 156
     {
157 157
         $this->setRequestOptions($action, 'PATCH');
158 158
         try {
Please login to merge, or discard this patch.
src/RestApi/RestApiClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      * @param array $queryOptions
116 116
      * @return json
117 117
      */
118
-    public function getAllContactGroups($queryOptions = [])
118
+    public function getAllContactGroups($queryOptions = [ ])
119 119
     {
120 120
         return $this->request->get('group', $queryOptions);
121 121
     }
Please login to merge, or discard this patch.
src/SmsGlobalServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function register()
15 15
     {
16
-        $this->app->bind('smsglobal-laravel', function () {
16
+        $this->app->bind('smsglobal-laravel', function() {
17 17
 
18 18
             return new RestApi\RestApiClient;
19 19
         });
Please login to merge, or discard this patch.