Skip to content

Commit

Permalink
PhpUnit Deprecations fix for PHPUnit8.4 support
Browse files Browse the repository at this point in the history
Signed-off-by: Atul-glo35265 <[email protected]>
  • Loading branch information
Atul-glo35265 committed Oct 17, 2024
1 parent ac1f308 commit b8526fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Service/InjectTemplateListenerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class InjectTemplateListenerFactory implements FactoryInterface
*
* @return InjectTemplateListener
*/
public function __invoke(ContainerInterface $container, $name, array $options = null)
public function __invoke(ContainerInterface $container, $name, ?array $options = null)
{
$listener = new InjectTemplateListener();
$config = $container->get('config');
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ViewPrefixPathStackResolverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ViewPrefixPathStackResolverFactory implements FactoryInterface
* @param null|array $options
* @return PrefixPathStackResolver
*/
public function __invoke(ContainerInterface $container, $name, array $options = null)
public function __invoke(ContainerInterface $container, $name, ?array $options = null)
{
$config = $container->get('config');
$prefixes = [];
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ViewTemplatePathStackFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ViewTemplatePathStackFactory implements FactoryInterface
* @param null|array $options
* @return ViewResolver\TemplatePathStack
*/
public function __invoke(ContainerInterface $container, $name, array $options = null)
public function __invoke(ContainerInterface $container, $name, ?array $options = null)
{
$config = $container->get('config');

Expand Down

0 comments on commit b8526fd

Please sign in to comment.