diff --git a/Controller/Index/Post.php b/Controller/Index/Post.php index d2267b8..d4a4926 100644 --- a/Controller/Index/Post.php +++ b/Controller/Index/Post.php @@ -19,7 +19,6 @@ class Post extends \Magento\Framework\App\Action\Action { - /** * @var DataPersistorInterface */ @@ -36,16 +35,22 @@ class Post extends \Magento\Framework\App\Action\Action protected $_moduleHelper; + /** + * @var \Magento\MediaStorage\Model\File\UploaderFactory + */ + protected $_fileUploaderFactory; + /** * @param Context $context + * @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone * @param DataPersistorInterface $dataPersistor * @param LoggerInterface $logger */ public function __construct( - \Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone, \Magento\Framework\App\Action\Context $context, + \Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone, \Magento\MediaStorage\Model\File\UploaderFactory $fileUploaderFactory, \Magiccart\Testimonial\Helper\Data $moduleHelper ) {