Skip to content

Commit

Permalink
[PHPStan] level-3 - fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Jan 10, 2020
1 parent 94bc775 commit cd4c7dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CoreShop/Behat/Context/Cli/InstallerContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
namespace CoreShop\Behat\Context\Cli;

use Behat\Behat\Context\Context;
use CoreShop\Bundle\CoreBundle\Command\AbstractInstallCommand;
use CoreShop\Bundle\CoreBundle\Command\InstallCommand;
use CoreShop\Bundle\CoreBundle\Command\InstallDemoCommand;
use CoreShop\Bundle\CoreBundle\Command\InstallFixturesCommand;
Expand All @@ -39,7 +40,7 @@ final class InstallerContext implements Context
private $tester;

/**
* @var InstallCommand
* @var AbstractInstallCommand
*/
private $command;

Expand Down Expand Up @@ -85,7 +86,7 @@ public function iRunCoreShopInstallSampleDataCommand()
$this->application->add($installCommand);
$command = $this->application->find('coreshop:install:demo');

Assert::isInstanceOf($command, InstallCommand::class);
Assert::isInstanceOf($command, InstallDemoCommand::class);

$this->command = $command;
$this->tester = new CommandTester($this->command);
Expand Down

0 comments on commit cd4c7dd

Please sign in to comment.