8000 minor #39198 [FrameworkBundle] [minor] adjust KernelBrowser::getProfi… · symfony/symfony@441ceec · GitHub
[go: up one dir, main page]

Skip to content

Commit 441ceec

Browse files
committed
minor #39198 [FrameworkBundle] [minor] adjust KernelBrowser::getProfile() typehint (kbond)
This PR was merged into the 5.1 branch. Discussion ---------- [FrameworkBundle] [minor] adjust KernelBrowser::getProfile() typehint | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a `Profiler::loadProfileFromResponse()` can return `null`. Obviously having a return of `null|false` is unfortunate. Not sure what we can do about that... Commits ------- ce046fd adjust KernelBrowser::getProfile() typehint
2 parents e70ccfe + ce046fd commit 441ceec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getKernel()
6565
/**
6666
* Gets the profile associated with the current Response.
6767
*
68-
* @return HttpProfile|false A Profile instance
68+
* @return HttpProfile|false|null A Profile instance
6969
*/
7070
public function getProfile()
7171
{

0 commit comments

Comments
 (0)
0