Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 07d2570

Browse files
minor #27183 Fixed return type (tarlepp)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #27183). Discussion ---------- Fixed return type | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | 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? | no <!-- please add some, will be required by reviewers --> | Fixed tickets | <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Note that tests that are failing are not related to this component. Commits ------- 5539f9d Fixed return type
2 parents 423a638 + 5539f9d commit 07d2570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ public function getRealMethod()
13221322
*
13231323
* @param string $format The format
13241324
*
1325-
* @return string The associated mime type (null if not found)
1325+
* @return string|null The associated mime type (null if not found)
13261326
*/
13271327
public function getMimeType($format)
13281328
{

0 commit comments

Comments
 (0)