Skip to content

Commit

Permalink
Fix wrong namesppace for RuntimeException
Browse files Browse the repository at this point in the history
Prev code caused 
Instantiated class                                                   
         Endereco\Shopware6ClientStore\Installer\RuntimeException not found.  
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols  
with phpstan. So i explicitely importet the RuntimeException with use.
  • Loading branch information
iljamobilemojo committed Feb 20, 2023
1 parent fdcc931 commit 2cd4fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Installer/PluginLifecycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Endereco\Shopware6Client\Installer;

use Doctrine\DBAL\Connection;
use RuntimeException;
use Shopware\Core\Framework\Plugin\Context\InstallContext;
use Shopware\Core\Framework\Plugin\Context\UninstallContext;
use Shopware\Core\Framework\Plugin\Context\UpdateContext;
Expand Down

0 comments on commit 2cd4fc4

Please sign in to comment.