@@ -6,6 +6,9 @@ |
||
| 6 | 6 | |
| 7 | 7 | class Parser |
| 8 | 8 | { |
| 9 | + /** |
|
| 10 | + * @param string $pathPattern |
|
| 11 | + */ |
|
| 9 | 12 | public function extractPlaceholders(Request $request, $pathPattern) |
| 10 | 13 | { |
| 11 | 14 | preg_match_all('#\{\w+\}#', $pathPattern, $placeholders, PREG_OFFSET_CAPTURE | PREG_SET_ORDER); |
@@ -158,6 +158,7 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | 160 | * @Given TuTu is running on host :host at port :port |
| 161 | + * @param integer $port |
|
| 161 | 162 | */ |
| 162 | 163 | public function tutuIsRunningOnHostAtPort($host, $port) |
| 163 | 164 | { |
@@ -309,7 +310,7 @@ discard block |
||
| 309 | 310 | * @param $method |
| 310 | 311 | * @param $url |
| 311 | 312 | * @param array $parameters |
| 312 | - * @param null $body |
|
| 313 | + * @param string $body |
|
| 313 | 314 | */ |
| 314 | 315 | private function makeHttpCall($method, $url, array $parameters = [], array $headers = [], $body = null) |
| 315 | 316 | { |