mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 21:22:17 +00:00
Merge pull request #672 from ATC-4K/patch-1
Added @return never to Response.php
This commit is contained in:
@@ -32,6 +32,8 @@ class Response
|
|||||||
*
|
*
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @param ?int $httpCode
|
* @param ?int $httpCode
|
||||||
|
*
|
||||||
|
* @return never
|
||||||
*/
|
*/
|
||||||
public function redirect(string $url, ?int $httpCode = null): void
|
public function redirect(string $url, ?int $httpCode = null): void
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user