Skip to content

Commit fa97643

Browse files
minor #28675 [CS] Enforces null type hint on last position in phpDocs (carusogabriel)
This PR was merged into the 2.8 branch. Discussion ---------- [CS] Enforces null type hint on last position in phpDocs | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | - <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | - <!-- required for new features --> As a majority in our codebase, the `null` typehint usually comes in the last position in phpDocs. Commits ------- efbba25577 [CS] Enforces null type hint on last position in phpDocs
2 parents 2565b43 + 244f47a commit fa97643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Translation/PhpStringTokenParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function parse($str)
8989
* Parses escape sequences in strings (all string types apart from single quoted).
9090
*
9191
* @param string $str String without quotes
92-
* @param null|string $quote Quote type
92+
* @param string|null $quote Quote type
9393
*
9494
* @return string String with escape sequences parsed
9595
*/

0 commit comments

Comments
 (0)