- Some bugfixes linked to attributes
This commit is contained in:
parent
02c0b2d432
commit
3622e11fcc
|
@ -6,7 +6,7 @@
|
|||
"authors": [
|
||||
{
|
||||
"name": "Dave Mc Nicoll",
|
||||
"email": "mcndave@gmail.com"
|
||||
"email": "info@mcnd.ca"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
|
|
|
@ -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 = "",
|
||||
|
|
Loading…
Reference in New Issue