@@ -75,7 +75,6 @@ |
||
75 | 75 | * @param Response $response Initial pipeline response. |
76 | 76 | * @param mixed $result Generated endpoint output. |
77 | 77 | * @param string $output Buffer output. |
78 | - |
|
79 | 78 | * @return Response |
80 | 79 | */ |
81 | 80 | private function wrapResponse(Response $response, $result = null, string $output = ''): Response |
@@ -388,7 +388,6 @@ discard block |
||
388 | 388 | /** |
389 | 389 | * @param string $name |
390 | 390 | * @param mixed $default |
391 | - |
|
392 | 391 | * @return mixed |
393 | 392 | */ |
394 | 393 | public function query(string $name, $default = null) |
@@ -399,7 +398,6 @@ discard block |
||
399 | 398 | /** |
400 | 399 | * @param string $name |
401 | 400 | * @param mixed $default |
402 | - |
|
403 | 401 | * @return mixed |
404 | 402 | */ |
405 | 403 | public function cookie(string $name, $default = null) |
@@ -30,7 +30,6 @@ discard block |
||
30 | 30 | * |
31 | 31 | * |
32 | 32 | * @param bool|string $implode Implode header lines, false to return header as array. |
33 | - |
|
34 | 33 | * @return string|array |
35 | 34 | */ |
36 | 35 | public function get(string $name, $default = null, $implode = ',') |
@@ -69,7 +68,6 @@ discard block |
||
69 | 68 | * Normalize header name. |
70 | 69 | * |
71 | 70 | * @param string $header |
72 | - |
|
73 | 71 | * @return string |
74 | 72 | */ |
75 | 73 | protected function normalize(string $header): string |
@@ -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 |