Completed
Push — master ( c8c3d9...7f8d6c )
by Kazi Mainuddin
01:59
created
src/Controllers/PaymentController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
     /**
166 166
      * Get Status url.
167 167
      *
168
-     * @return mixed
168
+     * @return string
169 169
      * @throws \Exception
170 170
      */
171 171
     private function getStatusUrl()
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,9 +192,9 @@
 block discarded – undo
192 192
         $validation = $this->validateRequest($request);
193 193
         $hash = $this->getHashChecksum($request);
194 194
 
195
-        $redirect = collect(config('payu.redirect'))->map(function ($value) use ($request, $status_url) {
195
+        $redirect = collect(config('payu.redirect'))->map(function($value) use ($request, $status_url) {
196 196
             $separator = str_contains($value, '?') ? '&' : '?';
197
-            return url($value . $separator . 'callback=' . $status_url);
197
+            return url($value.$separator.'callback='.$status_url);
198 198
         })->all();
199 199
 
200 200
         $form_fields = array_merge(['key' => config('payu.key'), 'hash' => $hash],
Please login to merge, or discard this patch.