File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ class UrlGeneratorTest extends TestCase
10
10
{
11
11
public function testGenerate ()
12
12
{
13
- $ urlGenerator = new UrlGenerator (new class extends AbstractAction {
13
+ $ urlGenerator = new UrlGenerator (new class extends AbstractAction
14
+ {
14
15
public function getEndpoint (): string
15
16
{
16
17
return 'search/ ' ;
@@ -33,7 +34,8 @@ public function getParameters(): array
33
34
34
35
public function testSetAction ()
35
36
{
36
- $ urlGenerator = new UrlGenerator (new class extends AbstractAction {
37
+ $ urlGenerator = new UrlGenerator (new class extends AbstractAction
38
+ {
37
39
public function getEndpoint (): string
38
40
{
39
41
return 'endpoint/ ' ;
@@ -52,7 +54,8 @@ public function getParameters(): array
52
54
$ urlGenerator ->generate ()
53
55
);
54
56
55
- $ urlGenerator ->setAction (new class extends AbstractAction {
57
+ $ urlGenerator ->setAction (new class extends AbstractAction
58
+ {
56
59
public function getEndpoint (): string
57
60
{
58
61
return 'endpoint/ ' ;
You can’t perform that action at this time.
0 commit comments