Skip to content

Commit

Permalink
Add Yaml flags type-hint
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Dec 1, 2024
1 parent 5d8766f commit 8280ccb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Annotations/AbstractAnnotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ public function mergeProperties($object): void

/**
* Generate the documentation in YAML format.
*
* @param int-mask-of<Yaml::PARSE_*>|null $flags A bit field of PARSE_* constants to customize the YAML parser behavior
*/
public function toYaml(?int $flags = null): string
{
Expand Down

0 comments on commit 8280ccb

Please sign in to comment.