Skip to content

Commit

Permalink
fix: phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Jan 20, 2025
1 parent 7be57a4 commit e3ea7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/ErrorHandler/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ErrorHandler
public function __construct($sentryDsn, $sentryEnv)
{
try {
/** @var \ModuleCore $accountsModule */
/** @var false|\ModuleCore $accountsModule */
$accountsModule = \Module::getInstanceByName('ps_accounts');
/** @var mixed $accountService */
$accountService = $accountsModule->getService('PrestaShop\Module\PsAccounts\Service\PsAccountsService');
Expand Down

0 comments on commit e3ea7c3

Please sign in to comment.