Applied multi line fixes to @param, analogous to those in @return.

This commit is contained in:
Vasil Rangelov
2012-11-11 17:45:16 +02:00
parent bae65d2afe
commit ae82b8488f
2 changed files with 18 additions and 2 deletions
@@ -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"
)
);
}
}