1 | <?php |
||
41 | class EeProductMediaProcessor extends ProductMediaProcessor implements EeProductMediaProcessorInterface |
||
42 | { |
||
43 | |||
44 | /** |
||
45 | * Initialize the processor with the necessary assembler and repository instances. |
||
46 | * |
||
47 | * @param \PDO $connection The PDO connection to use |
||
48 | * @param \TechDivision\Import\Product\Media\Repositories\ProductMediaGalleryRepository $productMediaGalleryRepository The product media gallery repository to use |
||
49 | * @param \TechDivision\Import\Product\Media\Ee\Repositories\ProductMediaGalleryValueRepository $productMediaGalleryValueRepository The product media gallery value repository to use |
||
50 | * @param \TechDivision\Import\Product\Media\Ee\Repositories\ProductMediaGalleryValueToEntityRepository $productMediaGalleryValueToEntityRepository The product media gallery value to entity repository to use |
||
51 | * @param \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryAction $productMediaGalleryAction The product media gallery action to use |
||
52 | * @param \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryValueAction $productMediaGalleryValueAction The product media gallery value action to use |
||
53 | * @param \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryValueToEntityAction $productMediaGalleryValueToEntityAction The product media gallery value to entity action to use |
||
54 | * @param \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryVideoAction $productMediaGalleryValueVideoAction The product media gallery value video action to use |
||
55 | */ |
||
56 | public function __construct( |
||
75 | |||
76 | /** |
||
77 | * Load's the product media gallery with the passed value/row ID. |
||
78 | * |
||
79 | * @param integer $valueId The value ID of the product media gallery value to entity to load |
||
80 | * @param integer $rowId The row ID of the product media gallery value to entity to load |
||
81 | * |
||
82 | * @return array The product media gallery |
||
83 | */ |
||
84 | public function loadProductMediaGalleryValueToEntityByValueIdAndRowId($valueId, $rowId) |
||
88 | |||
89 | /** |
||
90 | * Load's the product media gallery value with the passed value/store/row ID. |
||
91 | * |
||
92 | * @param integer $valueId The value ID of the product media gallery value to load |
||
93 | * @param string $storeId The store ID of the product media gallery value to load |
||
94 | * @param string $rowId The row ID of the parent product of the product media gallery value to load |
||
95 | * |
||
96 | * @return array The product media gallery value |
||
97 | */ |
||
98 | public function loadProductMediaGalleryValueByValueIdAndStoreIdAndRowId($valueId, $storeId, $rowId) |
||
102 | } |
||
103 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: