@@ -36,9 +36,9 @@ |
||
36 | 36 | protected const DIRECTIVES = []; |
37 | 37 | |
38 | 38 | /** |
39 | - * @param Template $document |
|
40 | - * @return string |
|
41 | - */ |
|
39 | + * @param Template $document |
|
40 | + * @return string |
|
41 | + */ |
|
42 | 42 | protected function compile(Template $document): string |
43 | 43 | { |
44 | 44 | $compiler = new Compiler(); |
@@ -1,13 +1,13 @@ discard block |
||
1 | 1 | <?php return array ( |
2 | - 'index' => |
|
3 | - array ( |
|
2 | + 'index' => |
|
3 | + array ( |
|
4 | 4 | 'pattern' => '/', |
5 | 5 | 'controller' => 'Spiral\\Tests\\Router\\App\\Controller\\HomeController', |
6 | 6 | 'action' => 'index', |
7 | 7 | 'group' => 'default', |
8 | 8 | 'verbs' => |
9 | 9 | array ( |
10 | - 0 => 'GET', |
|
10 | + 0 => 'GET', |
|
11 | 11 | ), |
12 | 12 | 'defaults' => |
13 | 13 | array ( |
@@ -15,16 +15,16 @@ discard block |
||
15 | 15 | 'middleware' => |
16 | 16 | array ( |
17 | 17 | ), |
18 | - ), |
|
19 | - 'method' => |
|
20 | - array ( |
|
18 | + ), |
|
19 | + 'method' => |
|
20 | + array ( |
|
21 | 21 | 'pattern' => '/', |
22 | 22 | 'controller' => 'Spiral\\Tests\\Router\\App\\Controller\\HomeController', |
23 | 23 | 'action' => 'method', |
24 | 24 | 'group' => 'default', |
25 | 25 | 'verbs' => |
26 | 26 | array ( |
27 | - 0 => 'POST', |
|
27 | + 0 => 'POST', |
|
28 | 28 | ), |
29 | 29 | 'defaults' => |
30 | 30 | array ( |
@@ -32,5 +32,5 @@ discard block |
||
32 | 32 | 'middleware' => |
33 | 33 | array ( |
34 | 34 | ), |
35 | - ), |
|
35 | + ), |
|
36 | 36 | ); |
37 | 37 | \ No newline at end of file |