111
This commit is contained in:
@@ -391,7 +391,7 @@ class Router extends HttpService implements RouterInterface
|
|||||||
if (empty($this->nodes)) {
|
if (empty($this->nodes)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$parent = $this->nodes[array_shift($explode)];
|
$parent = $this->nodes[array_shift($explode)] ?? null;
|
||||||
if (!($parent instanceof Node)) {
|
if (!($parent instanceof Node)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user