redirect->route wrong docu or default values - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: redirect->route wrong docu or default values (/showthread.php?tid=71311) |
redirect->route wrong docu or default values - puschie - 07-31-2018 hey, currently the redirect function not work like the docu describe it. Link it result in an Code: Argument 3 passed to CodeIgniter\HTTP\Response::redirect() must be of the type integer, null given so what behavior is the right one ? (personally i would remove the default value of $code ( and switch $params and $code ) ) Code: public function route(string $route, array $params=[], int $code=null, string $method='auto') RE: redirect->route wrong docu or default values - kilishan - 07-31-2018 Please report any bugs in GitHub issues. They'll just get lost here. RE: redirect->route wrong docu or default values - puschie - 08-01-2018 created issue |