diff --git a/spec/system/framework/Events/Event.spec.php b/spec/system/framework/Events/Event.spec.php index 83b0a97e..3590f060 100644 --- a/spec/system/framework/Events/Event.spec.php +++ b/spec/system/framework/Events/Event.spec.php @@ -68,7 +68,7 @@ }); }); - define('Execution', function(): void { + describe('Execution', function(): void { it('Execute un event', function (): void { $result = null; $this->eventManager->on('foo', static function (EventInterface $event) use (&$result): void { diff --git a/src/Debug/Toolbar/Collectors/RoutesCollector.php b/src/Debug/Toolbar/Collectors/RoutesCollector.php index c4cd23b3..a58f8548 100644 --- a/src/Debug/Toolbar/Collectors/RoutesCollector.php +++ b/src/Debug/Toolbar/Collectors/RoutesCollector.php @@ -55,7 +55,7 @@ public function __construct() * {@inheritDoc} * * @return array{ - * matchedRoute: array