Skip to content

Commit 77f42b3

Browse files
authored
Revert changes to array example value - fix #353
1 parent 00f6b3f commit 77f42b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mpociot/ApiDoc/Generators/AbstractGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ protected function parseRule($rule, $attribute, &$attributeData, $seed, $routeDa
528528
$attributeData['type'] = $rule;
529529
break;
530530
case 'array':
531-
$attributeData['value'] = [$faker->word];
531+
$attributeData['value'] = $faker->word;
532532
$attributeData['type'] = $rule;
533533
$attributeData['description'][] = Description::parse($rule)->getDescription();
534534
break;

0 commit comments

Comments
 (0)