Completed
Push — master ( 45dd27...e0191e )
by PROSPER
02:00
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
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.
Doc Comments   +5 added lines, -5 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 Invalid Message ID Response
87
-      * @return object
87
+      * @return \stdClass
88 88
       */
89 89
      public function invalidMessageIDResponse()
90 90
      {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
      /**
98 98
       * Stubbed sendSMSResponse
99
-      * @return object
99
+      * @return \stdClass
100 100
       */
101 101
      public function sendSMSResponse()
102 102
      {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
      /**
112 112
       * Stubbed checkAvailableCreditsResponse
113
-      * @return object
113
+      * @return \stdClass
114 114
       */
115 115
      public function checkAvailableCreditsResponse()
116 116
      {
Please login to merge, or discard this patch.