We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c80e0 commit 21a5ec6Copy full SHA for 21a5ec6
src/Handler/LoggingFactory.php
@@ -4,6 +4,7 @@
4
5
namespace ErrorHeroModule\Handler;
6
7
+use Laminas\Log\Logger;
8
use Laminas\Mail\Message;
9
use Laminas\Mail\Transport\TransportInterface;
10
use Psr\Container\ContainerInterface;
@@ -19,7 +20,9 @@ class LoggingFactory
19
20
*/
21
public function __invoke(ContainerInterface $container): Logging
22
{
- $config = $container->get('config');
23
+ /** @var array $config */
24
+ $config = $container->get('config');
25
+ /** @var Logger $errorHeroModuleLogger */
26
$errorHeroModuleLogger = $container->get('ErrorHeroModuleLogger');
27
28
$errorHeroModuleLocalConfig = $config['error-hero-module'];
0 commit comments