- 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:
1 parent
6b1be4d245
commit
347e3c3b6c
6 files changed
+38
-14
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user