Skip to content

Commit cbe9aff

Browse files
committed
Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract
Also make getServiceLocator protected As per symfony/symfony#33946 (comment)
1 parent 23d6062 commit cbe9aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/ServiceLocatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
use Psr\Container\ContainerInterface;
1616
use Symfony\Contracts\Service\ServiceLocatorTrait;
1717

18-
class ServiceLocatorTest extends TestCase
18+
abstract class ServiceLocatorTest extends TestCase
1919
{
20-
public function getServiceLocator(array $factories)
20+
protected function getServiceLocator(array $factories)
2121
{
2222
return new class($factories) implements ContainerInterface {
2323
use ServiceLocatorTrait;

0 commit comments

Comments
 (0)