Skip to content

Commit 8dd1d66

Browse files
committed
fix: Add invoke to TestController
1 parent c6e85ce commit 8dd1d66

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/App/Controller/TestController.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public function __construct(
1414
) {
1515
}
1616

17+
public function __invoke(): Response
18+
{
19+
return $this->index();
20+
}
21+
1722
#[Route('/', methods: ['GET'])]
1823
public function index(): Response
1924
{

0 commit comments

Comments
 (0)