Test Failed
Pull Request — master (#2)
by Talha Zekeriya
19:57 queued 09:46
created
src/NetGsmClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             ]);
79 79
             $result = explode(' ', $response->getBody()->getContents());
80 80
 
81
-            if (! isset($result[0])) {
81
+            if (!isset($result[0])) {
82 82
                 throw CouldNotSendNotification::invalidResponse();
83 83
             }
84 84
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     protected function prepareBody(NetGsmMessage $message): string
112 112
     {
113
-        $recipients = implode("\n", array_map(function ($recipient) {
113
+        $recipients = implode("\n", array_map(function($recipient) {
114 114
             return '<no>'.$recipient.'</no>';
115 115
         }, $message->recipients));
116 116
 
Please login to merge, or discard this patch.
src/NetGsmServiceProvider.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
         $this->app->when(NetGsmChannel::class)
17 17
             ->needs(NetGsmClient::class)
18
-            ->give(function () {
18
+            ->give(function() {
19 19
                 $config = config('services.netgsm');
20 20
 
21 21
                 if (is_null($config)) {
Please login to merge, or discard this patch.
src/NetGsmMessage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function __construct($body = '')
21 21
     {
22
-        if (! empty($body)) {
22
+        if (!empty($body)) {
23 23
             $this->body = trim($body);
24 24
         }
25 25
     }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function setRecipients($recipients)
54 54
     {
55
-        if (! is_array($recipients)) {
55
+        if (!is_array($recipients)) {
56 56
             $recipients = [$recipients];
57 57
         }
58 58
         $this->recipients = $recipients;
Please login to merge, or discard this patch.