diff --git a/Exception/UndocumentedArrayItemsException.php b/Exception/UndocumentedArrayItemsException.php index b44c05f..bedfcc2 100644 --- a/Exception/UndocumentedArrayItemsException.php +++ b/Exception/UndocumentedArrayItemsException.php @@ -27,7 +27,7 @@ class UndocumentedArrayItemsException extends \LogicException } $propertyName .= $path; - parent::__construct(sprintf('Property "%s" is an array, but its items type isn\'t specified. You can specify that by using the type `string[]` for instance or `@SWG\Property(type="array", @SWG\Items(type="string"))`.', $propertyName)); + parent::__construct(sprintf('Property "%s" is an array, but its items type isn\'t specified. You can specify that by using the type `string[]` for instance or `@OA\Property(type="array", @OA\Items(type="string"))`.', $propertyName)); } public function getClass()