pull/596/head
n0nag0n 4 months ago
parent edcd1ad092
commit a788c8a608

@ -733,7 +733,7 @@ class Engine
* Create a resource controller customizing the methods names mapping.
*
* @param class-string $controllerClass
* @param array<string, string|array> $options
* @param array<string, string|array<string>> $options
*/
public function _resource(
string $pattern,

@ -280,7 +280,7 @@ class Router
* Create a resource controller customizing the methods names mapping.
*
* @param class-string $controllerClass
* @param array<string, string|array> $options
* @param array<string, string|array<string>> $options
*/
public function mapResource(
string $pattern,

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
use tests\groupcompactsyntax\PostsController;
use tests\groupcompactsyntax\TodosController;

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace tests\groupcompactsyntax;
final class PostsController

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace tests\groupcompactsyntax;
final class TodosController

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace tests\groupcompactsyntax;
final class UsersController

Loading…
Cancel
Save