Skip to content

Commit

Permalink
minor #52321 DX: re-apply self_accessor and phpdoc_types_order by PHP…
Browse files Browse the repository at this point in the history
… CS Fixer (keradus)

This PR was squashed before being merged into the 6.4 branch.

Discussion
----------

DX: re-apply self_accessor and phpdoc_types_order by PHP CS Fixer

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | Fix CS
| License       | MIT

one further step to clean the CS status-quo, aiming for all-green in long-term

Commits
-------

ccd78410e9 DX: re-apply self_accessor and phpdoc_types_order by PHP CS Fixer
  • Loading branch information
nicolas-grekas committed Oct 29, 2023
2 parents b6e3df2 + 7354902 commit ead3202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public function prepare(Request $request): static
/**
* Sends HTTP headers.
*
* @param null|positive-int $statusCode The status code to use, override the statusCode property if set and not null
* @param positive-int|null $statusCode The status code to use, override the statusCode property if set and not null
*
* @return $this
*/
Expand Down
2 changes: 1 addition & 1 deletion StreamedResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getCallback(): ?\Closure
/**
* This method only sends the headers once.
*
* @param null|positive-int $statusCode The status code to use, override the statusCode property if set and not null
* @param positive-int|null $statusCode The status code to use, override the statusCode property if set and not null
*
* @return $this
*/
Expand Down

0 comments on commit ead3202

Please sign in to comment.