Skip to content

Commit fa60413

Browse files
committed
fixes.
1 parent 46b07e8 commit fa60413

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
namespace Prokl\WpSymfonyRouterBundle\Tests\Fixture;
4+
5+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
6+
use Symfony\Component\HttpFoundation\Request;
7+
use Symfony\Component\HttpFoundation\Response;
8+
9+
/**
10+
* Class ExampleSimpleController
11+
* @package Prokl\WpSymfonyRouterBundle\Tests\Fixture
12+
*
13+
* @since 21.10.2020
14+
*/
15+
class ExampleSimpleController extends AbstractController
16+
{
17+
public function action(Request $request, int $id): Response
18+
{
19+
return new Response(
20+
'OK'
21+
);
22+
}
23+
24+
public function action2(Request $request): Response
25+
{
26+
return new Response(
27+
'OK'
28+
);
29+
}
30+
}

0 commit comments

Comments
 (0)