Skip to content

Commit a0957ed

Browse files
committed
[FrameworkBundle][WebProfilerBundle][Console][Form][HttpKernel][PropertyInfo][Validator] Remove optional before required param
1 parent 83597b5 commit a0957ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/Bundle/TestBundle/AutowiringTypes/AutowiredServices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AutowiredServices
2121
private EventDispatcherInterface $dispatcher;
2222
private CacheItemPoolInterface $cachePool;
2323

24-
public function __construct(Reader $annotationReader = null, EventDispatcherInterface $dispatcher, CacheItemPoolInterface $cachePool)
24+
public function __construct(?Reader $annotationReader, EventDispatcherInterface $dispatcher, CacheItemPoolInterface $cachePool)
2525
{
2626
$this->annotationReader = $annotationReader;
2727
$this->dispatcher = $dispatcher;

0 commit comments

Comments
 (0)