@@ -43,7 +43,7 @@ |
||
43 | 43 | /** |
44 | 44 | * @param array $url |
45 | 45 | * @param array $context |
46 | - * @return bool|array |
|
46 | + * @return false|string |
|
47 | 47 | */ |
48 | 48 | public function match(array $url, array $context = []) |
49 | 49 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $url = ['prefix' => 'users', 'Controller' => 'pages', 'action' => 'index']; |
58 | 58 | $response = $this->SubdomainRoute->parse($url, ''); |
59 | 59 | //assertwrong*/ |
60 | - } |
|
60 | + } |
|
61 | 61 | |
62 | 62 | /** |
63 | 63 | * @return void |
@@ -49,7 +49,8 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * @return void |
51 | 51 | */ |
52 | - public function testParse() { |
|
52 | + public function testParse() |
|
53 | + { |
|
53 | 54 | $this->markTestIncomplete('Not implemented yet.'); |
54 | 55 | /*$url = ['prefix' => 'admin', 'Controller' => 'pages', 'action' => 'index']; |
55 | 56 | $response = $this->SubdomainRoute->parse($url, ''); |
@@ -62,7 +63,8 @@ discard block |
||
62 | 63 | /** |
63 | 64 | * @return void |
64 | 65 | */ |
65 | - public function testMatch() { |
|
66 | + public function testMatch() |
|
67 | + { |
|
66 | 68 | $this->markTestIncomplete('Not implemented yet.'); |
67 | 69 | /*$url = ['prefix' => 'admin', 'Controller' => 'pages', 'action' => 'index']; |
68 | 70 | $response = $this->SubdomainRoute->match($url, ''); |
@@ -72,7 +72,8 @@ |
||
72 | 72 | /** |
73 | 73 | * @return void |
74 | 74 | */ |
75 | - public function testInvoke() { |
|
75 | + public function testInvoke() |
|
76 | + { |
|
76 | 77 | $this->markTestIncomplete('Not implemented yet.'); |
77 | 78 | /*$this->configRequest(['uri' => ['_host' => 'admin.example.com']]); |
78 | 79 | $request = $this->getMockBuilder('Psr\Http\Message\ServerRequestInterface')->getMock(); |
@@ -32,7 +32,8 @@ |
||
32 | 32 | /** |
33 | 33 | * @return void |
34 | 34 | */ |
35 | - public function testOutput() { |
|
35 | + public function testOutput() |
|
36 | + { |
|
36 | 37 | $this->markTestIncomplete('Not implemented yet.'); |
37 | 38 | } |
38 | 39 |