@@ -152,7 +152,7 @@ |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
155 | - * @return \PHPUnit_Framework_MockObject_MockObject |
|
155 | + * @return \Spryker\Zed\Money\Business\MoneyFacadeInterface |
|
156 | 156 | */ |
157 | 157 | protected function getMoneyFacadeMock() |
158 | 158 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @return \Spryker\Zed\Calculation\Business\Model\Calculator\CalculatorInterface[] |
|
74 | + * @return Model\Calculator\CalculatorInterface[] |
|
75 | 75 | */ |
76 | 76 | protected function createNetPriceCalculators() |
77 | 77 | { |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @return \Spryker\Zed\Calculation\Business\Model\Calculator\CalculatorInterface[] |
|
85 | + * @return Model\Calculator\CalculatorInterface[] |
|
86 | 86 | */ |
87 | 87 | protected function createGrossPriceCalculators() |
88 | 88 | { |
@@ -177,7 +177,7 @@ |
||
177 | 177 | */ |
178 | 178 | public function createSubtotalCalculator() |
179 | 179 | { |
180 | - return new SubtotalCalculator(); |
|
180 | + return new SubtotalCalculator(); |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * |
106 | 106 | * @api |
107 | 107 | * |
108 | - * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer |
|
108 | + * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer |
|
109 | 109 | * |
110 | 110 | * @return void |
111 | 111 | */ |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @api |
123 | 123 | * |
124 | - * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer |
|
124 | + * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer |
|
125 | 125 | * |
126 | 126 | * @return void |
127 | 127 | */ |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * |
154 | 154 | * @api |
155 | 155 | * |
156 | - * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer |
|
156 | + * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer |
|
157 | 157 | * |
158 | 158 | * @return void |
159 | 159 | */ |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | * |
170 | 170 | * @api |
171 | 171 | * |
172 | - * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer |
|
172 | + * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer |
|
173 | 173 | * |
174 | 174 | * @return void |
175 | 175 | */ |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * |
218 | 218 | * @api |
219 | 219 | * |
220 | - * @param \Generated\Shared\Transfer\CalculableObjectTransfer $CalculableObjectTransfer |
|
220 | + * @param \Generated\Shared\Transfer\CalculableObjectTransfer $calculableObjectTransfer |
|
221 | 221 | * |
222 | 222 | * @return void |
223 | 223 | */ |
@@ -192,8 +192,8 @@ |
||
192 | 192 | public function calculateExpenseTotal(CalculableObjectTransfer $calculableObjectTransfer) |
193 | 193 | { |
194 | 194 | $this->getFactory() |
195 | - ->createExpenseTotalCalculator() |
|
196 | - ->recalculate($calculableObjectTransfer); |
|
195 | + ->createExpenseTotalCalculator() |
|
196 | + ->recalculate($calculableObjectTransfer); |
|
197 | 197 | } |
198 | 198 | |
199 | 199 | /** |
@@ -139,7 +139,7 @@ |
||
139 | 139 | * |
140 | 140 | * @api |
141 | 141 | * |
142 | - * @param \ArrayObject|\Generated\Shared\Transfer\ItemTransfer[] $items |
|
142 | + * @param ArrayObject $items |
|
143 | 143 | * |
144 | 144 | * @return \Generated\Shared\Transfer\QuoteTransfer |
145 | 145 | */ |
@@ -408,7 +408,7 @@ |
||
408 | 408 | * |
409 | 409 | * @deprecated Will be removed with next major release |
410 | 410 | * |
411 | - * @return bool |
|
411 | + * @return string|false |
|
412 | 412 | */ |
413 | 413 | public function renderCategoryTreeVisual() |
414 | 414 | { |
@@ -216,7 +216,7 @@ |
||
216 | 216 | * @param int $idCategoryNode |
217 | 217 | * @param \Generated\Shared\Transfer\LocaleTransfer $localeTransfer |
218 | 218 | * |
219 | - * @return int |
|
219 | + * @return boolean |
|
220 | 220 | */ |
221 | 221 | protected function hasCategoryNodeUrl($idCategoryNode, LocaleTransfer $localeTransfer) |
222 | 222 | { |
@@ -189,7 +189,7 @@ |
||
189 | 189 | |
190 | 190 | /** |
191 | 191 | * @param \Generated\Shared\Transfer\CategoryTransfer $categoryTransfer |
192 | - * @param \Generated\Shared\Transfer\LocaleTransfer $localeTransfer |
|
192 | + * @param null|LocaleTransfer $localeTransfer |
|
193 | 193 | * @param \Orm\Zed\Category\Persistence\SpyCategoryAttribute $categoryAttributeEntity |
194 | 194 | * |
195 | 195 | * @return void |
@@ -55,7 +55,7 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @return bool |
|
58 | + * @return string|false |
|
59 | 59 | */ |
60 | 60 | public function render() |
61 | 61 | { |
@@ -88,7 +88,7 @@ |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
91 | - * @param array $formPlugins |
|
91 | + * @param \Spryker\Zed\Category\Dependency\Plugin\CategoryFormPluginInterface[] $formPlugins |
|
92 | 92 | * |
93 | 93 | * @return void |
94 | 94 | */ |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | new NotBlank(), |
111 | 111 | new Callback([ |
112 | 112 | 'methods' => [ |
113 | - function ($key, ExecutionContextInterface $context) use ($categoryQueryContainer) { |
|
113 | + function($key, ExecutionContextInterface $context) use ($categoryQueryContainer) { |
|
114 | 114 | $data = $context->getRoot()->getData(); |
115 | 115 | |
116 | 116 | $exists = false; |
@@ -220,10 +220,10 @@ discard block |
||
220 | 220 | ]); |
221 | 221 | |
222 | 222 | $builder->get(static::FIELD_EXTRA_PARENTS)->addModelTransformer(new CallbackTransformer( |
223 | - function ($extraParents) { |
|
223 | + function($extraParents) { |
|
224 | 224 | return (array)$extraParents; |
225 | 225 | }, |
226 | - function ($extraParents) { |
|
226 | + function($extraParents) { |
|
227 | 227 | return new ArrayObject($extraParents); |
228 | 228 | } |
229 | 229 | )); |