@@ -178,6 +178,7 @@ discard block |
||
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | 180 | * @Given there is the following metadata :metadataName: |
| 181 | + * @param string $metadataName |
|
| 181 | 182 | */ |
| 182 | 183 | public function thereIsTheFollowingMetadata($metadataName, TableNode $table) |
| 183 | 184 | { |
@@ -303,7 +304,7 @@ discard block |
||
| 303 | 304 | |
| 304 | 305 | /** |
| 305 | 306 | * @param ElementInterface $element |
| 306 | - * @param array $fields |
|
| 307 | + * @param string[] $fields |
|
| 307 | 308 | * |
| 308 | 309 | * @throws \Exception If assertion failed |
| 309 | 310 | */ |
@@ -318,7 +319,7 @@ discard block |
||
| 318 | 319 | * @param ElementInterface $element |
| 319 | 320 | * @param string[] $fields |
| 320 | 321 | * |
| 321 | - * @return ElementInterface|null |
|
| 322 | + * @return NodeElement|null |
|
| 322 | 323 | */ |
| 323 | 324 | private function getFormWithFields(ElementInterface $element, array $fields) |
| 324 | 325 | { |
@@ -344,7 +345,7 @@ discard block |
||
| 344 | 345 | /** |
| 345 | 346 | * @param string $value |
| 346 | 347 | * |
| 347 | - * @return CardInterface |
|
| 348 | + * @return null|CardInterface |
|
| 348 | 349 | */ |
| 349 | 350 | protected function createTwitterCardFromString($value) |
| 350 | 351 | { |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | - * @return FormInterface|null |
|
| 112 | + * @return null|\Symfony\Component\Form\Form |
|
| 113 | 113 | */ |
| 114 | 114 | protected function getGuestForm() |
| 115 | 115 | { |
@@ -306,7 +306,7 @@ |
||
| 306 | 306 | * @param RequestConfiguration $configuration |
| 307 | 307 | * @param TaxonInterface $taxon |
| 308 | 308 | * @param Pagerfanta $results |
| 309 | - * @param mixed $template |
|
| 309 | + * @param string $template |
|
| 310 | 310 | * @param mixed $page |
| 311 | 311 | * @param mixed|null $facets |
| 312 | 312 | * @param mixed|null $facetTags |
@@ -45,11 +45,11 @@ |
||
| 45 | 45 | * @param string $code |
| 46 | 46 | * @param string $name |
| 47 | 47 | * @param string $url |
| 48 | - * @param array $locales |
|
| 49 | - * @param array $currencies |
|
| 50 | - * @param array $taxons |
|
| 51 | - * @param array $shippingMethods |
|
| 52 | - * @param array $paymentMethods |
|
| 48 | + * @param string[] $locales |
|
| 49 | + * @param string[] $currencies |
|
| 50 | + * @param string[] $taxons |
|
| 51 | + * @param string[] $shippingMethods |
|
| 52 | + * @param string[] $paymentMethods |
|
| 53 | 53 | * |
| 54 | 54 | * @return ChannelInterface |
| 55 | 55 | */ |
@@ -126,6 +126,9 @@ |
||
| 126 | 126 | $order->addShipment($shipment); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param OrderInterface $order |
|
| 131 | + */ |
|
| 129 | 132 | protected function dispatchEvents($order) |
| 130 | 133 | { |
| 131 | 134 | $dispatcher = $this->get('event_dispatcher'); |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | * @param string $code |
| 58 | 58 | * @param array $nameTranslations |
| 59 | 59 | * @param array $options |
| 60 | - * @param array $properties |
|
| 60 | + * @param string[] $properties |
|
| 61 | 61 | * |
| 62 | 62 | * @return ArchetypeInterface |
| 63 | 63 | */ |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | * Adds taxons to given product. |
| 314 | 314 | * |
| 315 | 315 | * @param ProductInterface $product |
| 316 | - * @param array $taxonCodes |
|
| 316 | + * @param string[] $taxonCodes |
|
| 317 | 317 | */ |
| 318 | 318 | protected function setTaxons(ProductInterface $product, array $taxonCodes) |
| 319 | 319 | { |
@@ -330,7 +330,7 @@ discard block |
||
| 330 | 330 | * Set channels. |
| 331 | 331 | * |
| 332 | 332 | * @param ProductInterface $product |
| 333 | - * @param array $channelCodes |
|
| 333 | + * @param string[] $channelCodes |
|
| 334 | 334 | */ |
| 335 | 335 | protected function setChannels(ProductInterface $product, array $channelCodes) |
| 336 | 336 | { |
@@ -137,8 +137,8 @@ |
||
| 137 | 137 | * @param string $description |
| 138 | 138 | * @param int $priority |
| 139 | 139 | * @param string $channel |
| 140 | - * @param array $rules |
|
| 141 | - * @param array $actions |
|
| 140 | + * @param RuleInterface[] $rules |
|
| 141 | + * @param ActionInterface[] $actions |
|
| 142 | 142 | * |
| 143 | 143 | * @return PromotionInterface |
| 144 | 144 | */ |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | * @param string $email |
| 86 | 86 | * @param string $password |
| 87 | 87 | * @param bool $enabled |
| 88 | - * @param array $roles |
|
| 88 | + * @param string[] $roles |
|
| 89 | 89 | * @param string $currencyCode |
| 90 | 90 | * |
| 91 | 91 | * @return UserInterface |