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 Jan 6, 2025
1 parent 37c532d commit ff4fa08
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 ff4fa08

Please sign in to comment.