Completed
Push — master ( 2e41b9...22f7ab )
by Zura
15:12 queued 06:57
created
src/SMSOffice.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,12 +40,12 @@
 block discarded – undo
40 40
         ];
41 41
 
42 42
         $params = array_merge($params, $base);
43
-        $url = $this->apiUrl.'?'.http_build_query($params);
43
+        $url = $this->apiUrl . '?' . http_build_query($params);
44 44
 
45 45
         $response = $this->httpClient->get($url);
46
-        $response = json_decode((string) $response->getBody(), true);
46
+        $response = json_decode((string)$response->getBody(), true);
47 47
 
48
-        if (isset($response['ErrorCode']) && (int) $response['ErrorCode'] !== 0) {
48
+        if (isset($response['ErrorCode']) && (int)$response['ErrorCode'] !== 0) {
49 49
             throw new DomainException($response['Message'], $response['ErrorCode']);
50 50
         }
51 51
     }
Please login to merge, or discard this patch.
src/SMSOfficeServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function boot()
17 17
     {
18
-        $this->app->singleton(SMSOffice::class, function () {
18
+        $this->app->singleton(SMSOffice::class, function() {
19 19
             $config = /** @scrutinizer ignore-call */config('services.smsoffice');
20 20
 
21 21
             if ($config === null) {
Please login to merge, or discard this patch.