@@ -25,7 +25,6 @@ |
||
25 | 25 | * Adds new transformer |
26 | 26 | * |
27 | 27 | * @param string $alias |
28 | - * @param string $transformer $serviceId |
|
29 | 28 | */ |
30 | 29 | public function add($alias, $serviceId) |
31 | 30 | { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * Constructor |
38 | 38 | * |
39 | - * @param $format |
|
39 | + * @param string $format |
|
40 | 40 | */ |
41 | 41 | public function __construct($format) |
42 | 42 | { |
@@ -47,7 +47,6 @@ discard block |
||
47 | 47 | /** |
48 | 48 | * Transforms date object to string using given format |
49 | 49 | * |
50 | - * @param DateTime|string $dateTime |
|
51 | 50 | * |
52 | 51 | * @return string |
53 | 52 | */ |
@@ -133,6 +133,9 @@ |
||
133 | 133 | return $this->formModelData; |
134 | 134 | } |
135 | 135 | |
136 | + /** |
|
137 | + * @param FormInterface $form |
|
138 | + */ |
|
136 | 139 | public function populateForm($formModelData, $form) |
137 | 140 | { |
138 | 141 | return $this->formDataMapper->mapModelDataToForm($formModelData, $form); |
@@ -97,6 +97,9 @@ |
||
97 | 97 | $productAttributeSellPrice->setCurrency($sellPrice->getCurrency()); |
98 | 98 | } |
99 | 99 | |
100 | + /** |
|
101 | + * @param double $amount |
|
102 | + */ |
|
100 | 103 | protected function calculateAttributePrice(Variant $variant, $amount) |
101 | 104 | { |
102 | 105 | $modifierType = $variant->getModifierType(); |
@@ -117,6 +117,9 @@ |
||
117 | 117 | $this->getLocaleCopier()->copyLocaleData($sourceLocale, $targetLocale); |
118 | 118 | } |
119 | 119 | |
120 | + /** |
|
121 | + * @param string $targetCurrency |
|
122 | + */ |
|
120 | 123 | private function getTargetCurrency($targetCurrency): Currency |
121 | 124 | { |
122 | 125 | return $this->getContainer()->get('currency.repository')->findOneBy(['code' => $targetCurrency]); |
@@ -89,6 +89,9 @@ |
||
89 | 89 | return false; |
90 | 90 | } |
91 | 91 | |
92 | + /** |
|
93 | + * @return string |
|
94 | + */ |
|
92 | 95 | private function findBundleClass(string $bundleName) |
93 | 96 | { |
94 | 97 | $finder = new Finder(); |