Skip to content

Commit ec3c340

Browse files
authored
Fix static test
1 parent ee09259 commit ec3c340

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/MediaStorage/Console/Command/ImagesResizeCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Magento\Framework\App\Area;
1111
use Magento\Framework\App\ObjectManager;
1212
use Magento\Framework\App\State;
13+
use Magento\Framework\ObjectManagerInterface;
1314
use Magento\MediaStorage\Service\ImageResize;
1415
use Symfony\Component\Console\Helper\ProgressBar;
1516
use Symfony\Component\Console\Helper\ProgressBarFactory;
@@ -41,13 +42,14 @@ class ImagesResizeCommand extends \Symfony\Component\Console\Command\Command
4142
/**
4243
* @param State $appState
4344
* @param ImageResize $resize
45+
* @param ObjectManagerInterface $objectManager
4446
* @param ProgressBarFactory $progressBarFactory
4547
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4648
*/
4749
public function __construct(
4850
State $appState,
4951
ImageResize $resize,
50-
$objectManager = null,
52+
ObjectManagerInterface $objectManager,
5153
ProgressBarFactory $progressBarFactory = null
5254
) {
5355
parent::__construct();

0 commit comments

Comments
 (0)