@@ -171,7 +171,7 @@ |
||
| 171 | 171 | ); |
| 172 | 172 | } |
| 173 | 173 | $match_path = $path == 'xxx'; // Insert logic here... |
| 174 | - if($match_path) { |
|
| 174 | + if ($match_path) { |
|
| 175 | 175 | return function(RequestInterface $request, ResponseInterface $response) use ($path) { |
| 176 | 176 | $response->write($path); |
| 177 | 177 | }; |
@@ -175,8 +175,7 @@ |
||
| 175 | 175 | return function(RequestInterface $request, ResponseInterface $response) use ($path) { |
| 176 | 176 | $response->write($path); |
| 177 | 177 | }; |
| 178 | - } |
|
| 179 | - else { |
|
| 178 | + } else { |
|
| 180 | 179 | return null; |
| 181 | 180 | } |
| 182 | 181 | } |