mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Applied multi line fixes to @param, analogous to those in @return.
This commit is contained in:
@@ -76,6 +76,15 @@ class ParamTagTest extends \PHPUnit_Framework_TestCase
|
||||
'param', 'int $bob Number of bobs', 'int', array('int'), '$bob',
|
||||
'Number of bobs'
|
||||
),
|
||||
array('param', "int Description \n on multiple lines", 'int',
|
||||
array('int'), '', "Description \n on multiple lines"
|
||||
),
|
||||
array('param', "int \n\$bob Variable name on a new line", 'int',
|
||||
array('int'), '$bob', "Variable name on a new line"
|
||||
),
|
||||
array('param', "\nint \$bob Type on a new line", 'int',
|
||||
array('int'), '$bob', "Type on a new line"
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user