We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5a506c + afc1228 commit 19f64f9Copy full SHA for 19f64f9
docs/book/generator/examples.md
@@ -153,10 +153,14 @@ $foo->setName('Foo')
153
'shortDescription' => 'Set the bar property',
154
'longDescription' => null,
155
'tags' => [
156
- new Tag\ParamTag([
157
- 'paramName' => 'bar',
158
- 'datatype' => 'string'
159
- ]),
+ new Tag\ParamTag(
+ 'bar',
+ [
+ 'string',
160
+ 'array'
161
+ ],
162
+ 'parameter description'
163
+ ),
164
new Tag\ReturnTag([
165
'datatype' => 'string',
166
]),
@@ -207,8 +211,7 @@ class Foo
207
211
/**
208
212
* Set the bar property
209
213
*
210
- * @param string bar
- * @return string
214
+ * @param string|array $bar parameter description
215
*/
216
public function setBar($bar)
217
{
0 commit comments