diff --git a/Tests/Formatter/MarkdownFormatterTest.php b/Tests/Formatter/MarkdownFormatterTest.php index d51d4f7..4ce72ba 100644 --- a/Tests/Formatter/MarkdownFormatterTest.php +++ b/Tests/Formatter/MarkdownFormatterTest.php @@ -297,7 +297,7 @@ a: * description: A nice description -### `ANY` /my-commented/{id}/{page} ### +### `ANY` /my-commented/{id}/{page}/{paramType}/{param} ### ### This method is deprecated ### @@ -312,6 +312,14 @@ _This method is useful to test if the getDocComment works._ **page** - Type: int +**paramType** + + - Type: int + - Description: The param type +**param** + + - Type: int + - Description: The param id ### `ANY` /secure-route ### diff --git a/Tests/Formatter/SimpleFormatterTest.php b/Tests/Formatter/SimpleFormatterTest.php index 332117f..9081d90 100644 --- a/Tests/Formatter/SimpleFormatterTest.php +++ b/Tests/Formatter/SimpleFormatterTest.php @@ -400,7 +400,7 @@ With multiple lines.', 6 => array( 'method' => 'ANY', - 'uri' => '/my-commented/{id}/{page}', + 'uri' => '/my-commented/{id}/{page}/{paramType}/{param}', 'description' => 'This method is useful to test if the getDocComment works.', 'documentation' => 'This method is useful to test if the getDocComment works. And, it supports multilines until the first \'@\' char.', @@ -418,6 +418,18 @@ And, it supports multilines until the first \'@\' char.', 'description' => '', 'requirement' => '', ), + 'paramType' => + array ( + 'dataType' => 'int', + 'description' => 'The param type', + 'requirement' => '', + ), + 'param' => + array ( + 'dataType' => 'int', + 'description' => 'The param id', + 'requirement' => '', + ), ), 'https' => false, 'description' => 'This method is useful to test if the getDocComment works.',