@@ -19,6 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * @param string $name |
| 21 | 21 | * @param string $value |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function setCookie($name, $value); |
| 24 | 25 | } |
@@ -151,6 +151,9 @@ |
||
| 151 | 151 | $this->validate($address, $constraint); |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | + /** |
|
| 155 | + * @param string $propertyPath |
|
| 156 | + */ |
|
| 154 | 157 | private function createViolation($propertyPath) |
| 155 | 158 | { |
| 156 | 159 | return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue'); |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
| 15 | 15 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
| 16 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 17 | 16 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
| 17 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 18 | 18 | use Symfony\Component\Form\FormBuilderInterface; |
| 19 | 19 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 20 | 20 | use Symfony\Component\Validator\Constraints\Valid; |
@@ -35,8 +35,12 @@ |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param string $serviceId |
| 38 | + * @return void |
|
| 38 | 39 | */ |
| 39 | 40 | public function unmockService($serviceId); |
| 40 | 41 | |
| 42 | + /** |
|
| 43 | + * @return void |
|
| 44 | + */ |
|
| 41 | 45 | public function unmockAll(); |
| 42 | 46 | } |
@@ -130,6 +130,8 @@ |
||
| 130 | 130 | /** |
| 131 | 131 | * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment |
| 132 | 132 | * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment |
| 133 | + * @param string $shippingMethodName |
|
| 134 | + * @param string $paymentMethodName |
|
| 133 | 135 | */ |
| 134 | 136 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName) |
| 135 | 137 | { |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $name |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setName(?string $name): void; |
| 32 | 33 | } |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | namespace Sylius\Bundle\CoreBundle\Collector; |
| 15 | 15 | |
| 16 | 16 | use Sylius\Bundle\CoreBundle\Application\Kernel; |
| 17 | -use Sylius\Component\Channel\Context\ChannelNotFoundException; |
|
| 18 | 17 | use Sylius\Component\Core\Context\ShopperContextInterface; |
| 19 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
| 20 | 19 | use Sylius\Component\Currency\Context\CurrencyNotFoundException; |
@@ -6,11 +6,20 @@ |
||
| 6 | 6 | |
| 7 | 7 | interface ResolveNextRouteInterface |
| 8 | 8 | { |
| 9 | + /** |
|
| 10 | + * @return string |
|
| 11 | + */ |
|
| 9 | 12 | public function getRouteName(): ?string; |
| 10 | 13 | |
| 14 | + /** |
|
| 15 | + * @return void |
|
| 16 | + */ |
|
| 11 | 17 | public function setRouteName(string $routeName): void; |
| 12 | 18 | |
| 13 | 19 | public function getRouteParameters(): array; |
| 14 | 20 | |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 15 | 24 | public function setRouteParameters(array $parameters): void; |
| 16 | 25 | } |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
| 15 | 15 | |
| 16 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 17 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
| 17 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 18 | 18 | |
| 19 | 19 | interface ReviewableRatingUpdaterInterface |
| 20 | 20 | { |
@@ -18,7 +18,13 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface ReviewableRatingUpdaterInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function update(ReviewableInterface $reviewSubject): void; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function updateFromReview(ReviewInterface $review): void; |
| 24 | 30 | } |