- Removed E_STRICT error type, added some more content to skeleton and removed 'methods' of route attributes (replaced with 'method')

This commit is contained in:
mcndave committed 2026-07-08 12:11:11 +00:00
1 parent 6b1be4d245
commit 347e3c3b6c
6 files changed
+38 -14

No files matched your search

+1 -2
View File
@@ -37,7 +37,7 @@ return [
public function execute(Routing $routing, Route $attribute) : void
{
if (null !== ($name = $attribute->name ?? null)) {
$this->extension->registerRoute($name, $attribute->getRoute(), $attribute->class, $attribute->classMethod, (array) ( $attribute->method ?? $attribute->methods ));
$this->extension->registerRoute($name, $attribute->getRoute(), $attribute->class, $attribute->classMethod, (array) ( $attribute->method ));
}
}
},
@@ -52,7 +52,6 @@ return [
{
$class = $attribute->class;
$method = $attribute->classMethod;
$object = $container->get($class);
$request = $request->withAttribute('lean.route', $attribute);