8000 minor #48932 [Yaml] Minor: Update Inline parse phpdoc (alamirault) · symfony/symfony@a338736 · GitHub
[go: up one dir, main page]

Skip to content

Commit a338736

Browse files
committed
minor #48932 [Yaml] Minor: Update Inline parse phpdoc (alamirault)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Yaml] Minor: Update Inline parse phpdoc | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> I search everytime theses constants in this file `dump` method has already good doc https://github.com/symfony/symfony/blob/21191d58fbff73033dde161e8c660ff96d91bdf6/src/Symfony/Component/Yaml/Inline.php#L99 Commits ------- a535f00 [Yaml] Minor: Update Inline parse phpdoc
2 parents c3f17ac + a535f00 commit a338736

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Component/Yaml/Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function initialize(int $flags, int $parsedLineNumber = null, stri
5151
* Converts a YAML string to a PHP value.
5252
*
5353
* @param string $value A YAML string
54-
* @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior
54+
* @param int $flags A bit field of Yaml::PARSE_* constants to customize the YAML parser behavior
5555
* @param array $references Mapping of variable names to values
5656
*
5757
* @return mixed

src/Symfony/Component/Yaml/Parser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Parser
4343
* Parses a YAML file into a PHP value.
4444
*
4545
* @param string $filename The path to the YAML file to be parsed
46-
* @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior
46+
* @param int $flags A bit field of Yaml::PARSE_* constants to customize the YAML parser behavior
4747
*
4848
* @return mixed
4949
*
@@ -72,7 +72,7 @@ public function parseFile(string $filename, int $flags = 0)
7272
* Parses a YAML string to a PHP value.
7373
*
7474
* @param string $value A YAML string
75-
* @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior
75+
* @param int $flags A bit field of Yaml::PARSE_* constants to customize the YAML parser behavior
7676
*
7777
* @return mixed
7878
*
@@ -711,7 +711,7 @@ private function moveToPreviousLine(): bool
711711
* Parses a YAML value.
712712
*
713713
* @param string $value A YAML value
714-
* @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior
714+
* @param int $flags A bit field of Yaml::PARSE_* constants to customize the YAML parser behavior
715715
* @param string $context The parser context (either sequence or mapping)
716716
*
717717
* @return mixed

0 commit comments

Comments
 (0)
0