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

Skip to content

[FrameworkBundle] update docblock to not expose the internal class #46496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/expected-missing-return-types.diff
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ index d68ae4c8b3..8e980a9e70 100644
* @return TestContainer
*/
- protected static function getContainer(): ContainerInterface
+ protected static function getContainer(): TestContainer
+ protected static function getContainer(): Container
{
if (!static::$booted) {
diff --git a/src/Symfony/Component/BrowserKit/AbstractBrowser.php b/src/Symfony/Component/BrowserKit/AbstractBrowser.php
Expand Down
3 changes: 2 additions & 1 deletion src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace Symfony\Bundle\FrameworkBundle\Test;

use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
use Symfony\Component\HttpKernel\KernelInterface;
Expand Down Expand Up @@ -83,7 +84,7 @@ protected static function bootKernel(array $options = []): KernelInterface
*
* Using this method is the best way to get a container from your test code.
*
* @return TestContainer
* @return Container
*/
protected static function getContainer(): ContainerInterface
{
Expand Down