pull/596/head
n0nag0n 8 months ago
parent 7127c3ba17
commit a12d474006

@ -796,8 +796,9 @@ class Engine
$controllerClass . '->' . $controllerMethod $controllerClass . '->' . $controllerMethod
)->setAlias($aliasBase . '.' . $controllerMethod); )->setAlias($aliasBase . '.' . $controllerMethod);
} }
} },
, $middleware); $middleware
);
} }
/** /**

@ -361,8 +361,7 @@ class FlightTest extends TestCase
string $output, string $output,
array $renderParams, array $renderParams,
string $regexp string $regexp
): void ): void {
{
Flight::view()->preserveVars = false; Flight::view()->preserveVars = false;
$this->expectOutputString($output); $this->expectOutputString($output);

@ -2,13 +2,15 @@
namespace tests\groupcompactsyntax; namespace tests\groupcompactsyntax;
final class UsersController { final class UsersController
{
public function list(): void public function list(): void
{ {
echo __METHOD__; echo __METHOD__;
} }
public function handleRegister(): void { public function handleRegister(): void
{
echo __METHOD__; echo __METHOD__;
} }
} }

Loading…
Cancel
Save