Completed
Push — master ( d5f2c7...9800f3 )
by PROSPER
02:11
created
src/Paystack.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * Initiate a payment request to Paystack
94
-     * @return Unicodeveloper\Paystack\Paystack
94
+     * @return Paystack
95 95
      */
96 96
     public function makePaymentRequest()
97 97
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * Make the client request and get the response
105 105
      * @param string $relativeUrl
106
-     * @return Unicodeveloper\Paystack\Paystack
106
+     * @return Paystack
107 107
      */
108 108
     public function setResponse($relativeUrl)
109 109
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
     /**
124 124
      * Get the authorization url from the callback response
125
-     * @return Unicodeveloper\Paystack\Paystack
125
+     * @return Paystack
126 126
      */
127 127
     public function getAuthorizationUrl()
128 128
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     private function setRequestOptions()
78 78
     {
79
-        $authBearer = 'Bearer '. $this->secretKey;
79
+        $authBearer = 'Bearer '.$this->secretKey;
80 80
 
81 81
         $this->client = new Client(['base_uri' => $this->baseUrl]);
82 82
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             "email" => request()->email
112 112
         ];
113 113
 
114
-        $this->response = $this->client->post($this->baseUrl . $relativeUrl, [
114
+        $this->response = $this->client->post($this->baseUrl.$relativeUrl, [
115 115
             'body' => json_encode($data)
116 116
         ]);
117 117
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
         $relativeUrl = "/transaction/verify/{$transactionRef}";
143 143
 
144
-        $this->response = $this->client->get($this->baseUrl . $relativeUrl, []);
144
+        $this->response = $this->client->get($this->baseUrl.$relativeUrl, []);
145 145
     }
146 146
 
147 147
     /**
Please login to merge, or discard this patch.
src/Facades/Paystack.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 
7 7
 class PaystackFacade extends Facade {
8 8
     /**
9
-   * Get the registered name of the component.
10
-   *
11
-   * @return string
12
-   */
9
+     * Get the registered name of the component.
10
+     *
11
+     * @return string
12
+     */
13 13
     protected static function getFacadeAccessor()
14 14
     {
15 15
         return 'laravel-paystack';
Please login to merge, or discard this patch.
src/TransRef.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
      * @param  string $type
21 21
      * @return string
22 22
      */
23
-    private static function getPool( $type = 'alnum')
23
+    private static function getPool($type = 'alnum')
24 24
     {
25
-        switch ( $type ) {
25
+        switch ($type) {
26 26
             case 'alnum':
27 27
                 $pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
28 28
                 break;
Please login to merge, or discard this patch.