@@ -283,6 +283,9 @@ discard block |
||
283 | 283 | return $list; |
284 | 284 | } |
285 | 285 | |
286 | + /** |
|
287 | + * @param string $baseUrl |
|
288 | + */ |
|
286 | 289 | private function getBasePath($handlers, $baseUrl) |
287 | 290 | { |
288 | 291 | $basePath = null; |
@@ -292,6 +295,9 @@ discard block |
||
292 | 295 | return rtrim(str_replace($baseUrl, '', $basePath), '/'); |
293 | 296 | } |
294 | 297 | |
298 | + /** |
|
299 | + * @param string $path2 |
|
300 | + */ |
|
295 | 301 | private function getLongestCommonSubstring($path1, $path2) |
296 | 302 | { |
297 | 303 | if ($path1 === null) { |
@@ -421,6 +427,9 @@ discard block |
||
421 | 427 | return null; |
422 | 428 | } |
423 | 429 | |
430 | + /** |
|
431 | + * @param string $type |
|
432 | + */ |
|
424 | 433 | private function createIn($type) |
425 | 434 | { |
426 | 435 | if ($type == InputParam::TYPE_GET) { |