Skip to content

Commit 8d3be65

Browse files
committed
Fix string=>array for Delete method attribute
1 parent da3e9cb commit 8d3be65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/attributes/items/router/Delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Delete extends Route {
2020
* Delete constructor.
2121
*/
2222
public function __construct(string $path = '', string $name = null, bool $cache = false, int $duration = 0, bool $inherited = false, bool $automated = false, array $requirements = [], int $priority = 0) {
23-
parent::__construct($path, 'delete', $name, $cache, $duration, $inherited, $automated, $requirements, $priority);
23+
parent::__construct($path, ['delete'], $name, $cache, $duration, $inherited, $automated, $requirements, $priority);
2424
}
2525
}
2626

0 commit comments

Comments
 (0)