- WIP on Skeleton again

This commit is contained in:
Dave Mc Nicoll committed 2024-05-21 13:04:46 +00:00
1 parent f9c081ff26
commit 38b540bbd8
4 files changed
+72 -3

No files matched your search

+1 -1
View File
@@ -35,7 +35,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, $attribute->methods ?? (array)$attribute->method);
$this->extension->registerRoute($name, $attribute->getRoute(), $attribute->class, $attribute->classMethod, (array) ( $attribute->method ?? $attribute->methods ));
}
}
},