- Some bugfixes linked to attributes

This commit is contained in:
Dave M. 2023-07-09 12:42:40 -04:00
parent 02c0b2d432
commit 3622e11fcc
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"authors": [ "authors": [
{ {
"name": "Dave Mc Nicoll", "name": "Dave Mc Nicoll",
"email": "mcndave@gmail.com" "email": "info@mcnd.ca"
} }
], ],
"require": { "require": {

View File

@ -3,7 +3,7 @@
namespace Notes\Route\Attribute\Object; namespace Notes\Route\Attribute\Object;
#[\Attribute(\Attribute::TARGET_CLASS)] #[\Attribute(\Attribute::TARGET_CLASS)]
class Route implements \Notes\Annotation { class Route implements \Notes\Attribute {
public function __construct( public function __construct(
public string|array $method = [ "GET", "POST" ], public string|array $method = [ "GET", "POST" ],
public string $base = "", public string $base = "",