From 3622e11fcc0164d5be0b28787c6a718b1aaa0c07 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Sun, 9 Jul 2023 12:42:40 -0400 Subject: [PATCH] - Some bugfixes linked to attributes --- composer.json | 2 +- src/Attribute/Object/Route.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 587091c..c563675 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Dave Mc Nicoll", - "email": "mcndave@gmail.com" + "email": "info@mcnd.ca" } ], "require": { diff --git a/src/Attribute/Object/Route.php b/src/Attribute/Object/Route.php index 1dceb79..508ae23 100644 --- a/src/Attribute/Object/Route.php +++ b/src/Attribute/Object/Route.php @@ -3,7 +3,7 @@ namespace Notes\Route\Attribute\Object; #[\Attribute(\Attribute::TARGET_CLASS)] -class Route implements \Notes\Annotation { +class Route implements \Notes\Attribute { public function __construct( public string|array $method = [ "GET", "POST" ], public string $base = "",