File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -376,15 +376,15 @@ public function reset()
376
376
{
377
377
}
378
378
379
- public function supports (ResourceInterface $ metadata )
379
+ public function supports (ResourceInterface $ metadata ): bool
380
380
{
381
381
}
382
382
383
- public function isFresh (ResourceInterface $ resource , $ timestamp )
383
+ public function isFresh (ResourceInterface $ resource , $ timestamp ): bool
384
384
{
385
385
}
386
386
387
- public static function getSubscribedServices ()
387
+ public static function getSubscribedServices (): array
388
388
{
389
389
}
390
390
}
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \DependencyInjection \Tests ;
13
13
14
+ use Psr \Container \ContainerInterface ;
14
15
use Psr \Container \NotFoundExceptionInterface ;
15
16
use Symfony \Component \DependencyInjection \Container ;
16
17
use Symfony \Component \DependencyInjection \Exception \ServiceCircularReferenceException ;
21
22
22
23
class ServiceLocatorTest extends BaseServiceLocatorTest
23
24
{
24
- public function getServiceLocator (array $ factories )
25
+ public function getServiceLocator (array $ factories ): ContainerInterface
25
26
{
26
27
return new ServiceLocator ($ factories );
27
28
}
You can’t perform that action at this time.
0 commit comments