Completed
Push — master ( 0257d4...45dd27 )
by PROSPER
02:03
created
src/Jusibe.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
     private function prepareRequest()
65 65
     {
66
-        $this->client = new Client(['base_uri' => self::baseURL]);
66
+        $this->client = new Client([ 'base_uri' => self::baseURL ]);
67 67
     }
68 68
 
69 69
     /**
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     private function performGetRequest($relativeUrl)
75 75
     {
76 76
         $this->response = $this->client->request('GET', $relativeUrl, [
77
-            'auth' => [$this->publicKey, $this->accessToken]
77
+            'auth' => [ $this->publicKey, $this->accessToken ]
78 78
         ]);
79 79
     }
80 80
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     private function performPostRequest($relativeUrl, $data)
88 88
     {
89 89
         $this->response = $this->client->request('POST', $relativeUrl, [
90
-            'auth' => [$this->publicKey, $this->accessToken],
90
+            'auth' => [ $this->publicKey, $this->accessToken ],
91 91
             'form_params' => $data
92 92
         ]);
93 93
     }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param  array $payload
98 98
      * @return $this
99 99
      */
100
-    public function sendSMS($payload = [])
100
+    public function sendSMS($payload = [ ])
101 101
     {
102 102
         if (empty($payload)) {
103 103
             throw IsEmpty::create("Message Payload can not be empty. Please fill the appropriate details");
Please login to merge, or discard this patch.
src/Helper.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
      /**
59 59
       * Stubbed checkDeliveryStatusResponse
60
-      * @return object
60
+      * @return \stdClass
61 61
       */
62 62
      public function checkDeliveryStatusResponse()
63 63
      {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
      /**
74 74
       * Stubbed Invalid Keys Response
75
-      * @return object
75
+      * @return \stdClass
76 76
       */
77 77
      public function invalidKeysResponse()
78 78
      {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
      /**
86 86
       * Stubbed sendSMSResponse
87
-      * @return object
87
+      * @return \stdClass
88 88
       */
89 89
      public function sendSMSResponse()
90 90
      {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
      /**
100 100
       * Stubbed checkAvailableCreditsResponse
101
-      * @return object
101
+      * @return \stdClass
102 102
       */
103 103
      public function checkAvailableCreditsResponse()
104 104
      {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     */
23 23
      public function loadEnv()
24 24
      {
25
-         if (! getenv('APP_ENV')) {
25
+         if (!getenv('APP_ENV')) {
26 26
              $dotenv = new Dotenv(__DIR__.'/../');
27 27
              $dotenv->load();
28 28
          }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
       */
115 115
      public function correctPayload()
116 116
      {
117
-        $message  = "I LOVE YOU, BABY";
117
+        $message = "I LOVE YOU, BABY";
118 118
 
119 119
         return [
120 120
             'to' => '8038142771',
Please login to merge, or discard this patch.