1 | <?php |
||
25 | class InitForSave |
||
26 | { |
||
27 | /** |
||
28 | * @var AttachmentFactoryInterface |
||
29 | */ |
||
30 | private $attachmentFactory; |
||
31 | |||
32 | /** |
||
33 | * @var AttachmentBuilder |
||
34 | */ |
||
35 | private $attachmentBuilder; |
||
36 | |||
37 | /** |
||
38 | * @var RequestInterface |
||
39 | */ |
||
40 | private $request; |
||
41 | |||
42 | /** |
||
43 | * @param AttachmentFactoryInterface $attachmentFactory |
||
44 | * @param AttachmentBuilder $attachmentBuilder |
||
45 | * @param RequestInterface $request |
||
46 | */ |
||
47 | public function __construct( |
||
56 | |||
57 | /** |
||
58 | * @param Helper $subject |
||
59 | * @param Product $product |
||
60 | * @return Product |
||
61 | * @throws LocalizedException |
||
62 | */ |
||
63 | public function afterInitialize(Helper $subject, Product $product) |
||
88 | |||
89 | /** |
||
90 | * @param Product $product |
||
91 | * @param array|null $attachments |
||
92 | * @return void |
||
93 | */ |
||
94 | private function setProductAttachments(Product $product, ?array $attachments): void |
||
100 | } |
||
101 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.