@@ -165,7 +165,7 @@ |
||
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() |
@@ -192,9 +192,9 @@ |
||
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], |