diff --git a/app/Http/Controllers/OneclickMallController.php b/app/Http/Controllers/OneclickMallController.php index 5eed399..7a6e011 100644 --- a/app/Http/Controllers/OneclickMallController.php +++ b/app/Http/Controllers/OneclickMallController.php @@ -62,7 +62,7 @@ public function finishInscription(Request $request) $view = 'oneclick-mall.rejected'; $data = ["resp" => $resp, "token" => $token]; return view('oneclick-mall.rejected', ["resp" => $resp, "token" => $token]); - } else if ($resp->responseCode == self::TIMEOUT) { + } elseif ($resp->responseCode == self::TIMEOUT) { $view = 'oneclick-mall.timeout'; $data = ["resp" => $resp]; return view('oneclick-mall.timeout', ["resp" => $resp]);