Skip to content

Commit

Permalink
minor #40728 [PHPDoc] Fix some union type cases (fancyweb)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.4 branch.

Discussion
----------

[PHPDoc] Fix some union type cases

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

While working on symfony/symfony#40154, I discovered some PHPDoc issues, I'm going to comment in the review. Upper branches will need some fixes too.

Commits
-------

dd1481642b [PHPDoc] Fix some union type cases
  • Loading branch information
Nyholm committed Apr 8, 2021
2 parents ea5d021 + 9c901a3 commit 005b951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeaderBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function hasCacheControlDirective($key)
*
* @param string $key The directive name
*
* @return mixed|null The directive value if defined, null otherwise
* @return mixed The directive value if defined, null otherwise
*/
public function getCacheControlDirective($key)
{
Expand Down

0 comments on commit 005b951

Please sign in to comment.