Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit dc391a4

Browse files
authored
Update HelperPluginManagerFactory.php
1 parent baed223 commit dc391a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HelperPluginManagerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __invoke(ContainerInterface $container) : HelperPluginManager
2020
$manager = new HelperPluginManager($container);
2121

2222
$config = $container->has('config') ? $container->get('config') : [];
23-
$config = isset($config['view_helpers']) ? $config['view_helpers'] : [];
23+
$config = $config['view_helpers'] ?? [];
2424

2525
if (! empty($config)) {
2626
(new Config($config))->configureServiceManager($manager);

0 commit comments

Comments
 (0)