Skip to content

Commit

Permalink
Removed unused CreateTestimonial Resolver arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
roma84 committed Jun 28, 2023
1 parent 0e254cf commit 703253b
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions Model/Resolver/CreateTestimonial.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CreateTestimonial implements ResolverInterface
/**
* @var DataProvider
*/
private $dataProvider;
private $dataProvider;

/**
* @var \Swissup\Testimonials\Model\DataFactory
Expand All @@ -32,20 +32,6 @@ class CreateTestimonial implements ResolverInterface
*/
private $configHelper;

/**
* upload model
*
* @var \Swissup\Testimonials\Model\Upload
*/
private $uploadModel;

/**
* image model
*
* @var \Swissup\Core\Api\Media\FileInfoInterface
*/
private $imageModel;

/**
* @var \Magento\Customer\Model\Session
*/
Expand All @@ -61,8 +47,6 @@ class CreateTestimonial implements ResolverInterface
* @param DataProvider $dataProvider
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
* @param \Swissup\Testimonials\Helper\Config $configHelper
* @ param \Swissup\Core\Api\Media\FileInfoInterface $imageModel
* @param \Swissup\Testimonials\Model\Upload $uploadModel
* @param \Magento\Customer\Model\Session $customerSession
* @param \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository
*/
Expand All @@ -71,17 +55,13 @@ public function __construct(
DataProvider $dataProvider,
\Magento\Store\Model\StoreManagerInterface $storeManager,
\Swissup\Testimonials\Helper\Config $configHelper,
// \Swissup\Core\Api\Media\FileInfoInterface $imageModel,
\Swissup\Testimonials\Model\Upload $uploadModel,
\Magento\Customer\Model\Session $customerSession,
\Magento\Customer\Api\CustomerRepositoryInterface $customerRepository
) {
$this->testimonialsFactory = $testimonialsFactory;
$this->dataProvider = $dataProvider;
$this->storeManager = $storeManager;
$this->configHelper = $configHelper;
// $this->imageModel = $imageModel;
$this->uploadModel = $uploadModel;
$this->customerSession = $customerSession;
$this->customerRepository = $customerRepository;
}
Expand Down

0 comments on commit 703253b

Please sign in to comment.