@@ -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,15 +1,15 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return array ( |
4 | - 'index' => |
|
5 | - array ( |
|
4 | + 'index' => |
|
5 | + array ( |
|
6 | 6 | 'pattern' => '/', |
7 | 7 | 'controller' => 'Spiral\\Tests\\Router\\App\\Controller\\HomeController', |
8 | 8 | 'action' => 'index', |
9 | 9 | 'group' => 'default', |
10 | 10 | 'verbs' => |
11 | 11 | array ( |
12 | - 0 => 'GET', |
|
12 | + 0 => 'GET', |
|
13 | 13 | ), |
14 | 14 | 'defaults' => |
15 | 15 | array ( |
@@ -17,16 +17,16 @@ discard block |
||
17 | 17 | 'middleware' => |
18 | 18 | array ( |
19 | 19 | ), |
20 | - ), |
|
21 | - 'method' => |
|
22 | - array ( |
|
20 | + ), |
|
21 | + 'method' => |
|
22 | + array ( |
|
23 | 23 | 'pattern' => '/', |
24 | 24 | 'controller' => 'Spiral\\Tests\\Router\\App\\Controller\\HomeController', |
25 | 25 | 'action' => 'method', |
26 | 26 | 'group' => 'default', |
27 | 27 | 'verbs' => |
28 | 28 | array ( |
29 | - 0 => 'POST', |
|
29 | + 0 => 'POST', |
|
30 | 30 | ), |
31 | 31 | 'defaults' => |
32 | 32 | array ( |
@@ -34,5 +34,5 @@ discard block |
||
34 | 34 | 'middleware' => |
35 | 35 | array ( |
36 | 36 | ), |
37 | - ), |
|
37 | + ), |
|
38 | 38 | ); |