This commit is contained in:
Simon Sessingø
2021-06-09 09:13:11 +02:00
parent 5cd6cab801
commit 22606dfc12
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
"ext-json": "*" "ext-json": "*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8", "phpunit/phpunit": "^7",
"mockery/mockery": "^1", "mockery/mockery": "^1",
"phpstan/phpstan": "^0", "phpstan/phpstan": "^0",
"phpstan/phpstan-phpunit": "^0", "phpstan/phpstan-phpunit": "^0",
+3
View File
@@ -30,6 +30,9 @@ abstract class Route implements IRoute
protected $urlRegex = '/^%s\/?$/u'; protected $urlRegex = '/^%s\/?$/u';
protected $group; protected $group;
protected $parent; protected $parent;
/**
* @var string|callable|null
*/
protected $callback; protected $callback;
protected $defaultNamespace; protected $defaultNamespace;