mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-04 00:39:57 +00:00
[!!!] Added type definitions to property types
- Request: optimized getIp method and reversed the order so proxy is always checked first.
This commit is contained in:
@@ -9,12 +9,12 @@ class ClassNotFoundHttpException extends NotFoundHttpException
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $class;
|
||||
protected string $class;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
protected $method;
|
||||
protected ?string $method = null;
|
||||
|
||||
public function __construct(string $class, ?string $method = null, string $message = "", int $code = 0, Throwable $previous = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user