Skip to content

Commit

Permalink
Add another docblock annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Jul 14, 2024
1 parent 15618e0 commit f5797dc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Fixtures/Scratch/PromotedProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ public function __construct(
* @OA\Property(property="themeta")
*/
public string $meta = '',

/**
* Property different.
*
* @var string
*
* @OA\Property()
*/
public string $different = '',
) {
}
}
Expand Down
3 changes: 3 additions & 0 deletions tests/Fixtures/Scratch/PromotedProperty3.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ components:
themeta:
description: 'Property meta.'
type: string
different:
description: 'Property different.'
type: string
type: object
3 changes: 3 additions & 0 deletions tests/Fixtures/Scratch/PromotedProperty3.1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ components:
themeta:
description: 'Property meta.'
type: string
different:
description: 'Property different.'
type: string
type: object

0 comments on commit f5797dc

Please sign in to comment.