mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-03 16:30:04 +00:00
[CLEANUP] Cleaned up code
- Change variable $values to $settings in Route::setSettings method. - Added return types to methods. - Added type to method variables. - Change ClassNotFoundException so required parameters are first.
This commit is contained in:
@@ -9,7 +9,7 @@ class ClassNotFoundHttpException extends NotFoundHttpException
|
||||
protected $class;
|
||||
protected $method;
|
||||
|
||||
public function __construct($message = "", $code = 0, Throwable $previous = null, string $class, ?string $method = null)
|
||||
public function __construct(string $class, ?string $method = null, $message = "", $code = 0, Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user