@@ -14,7 +14,6 @@ |
||
14 | 14 | use Sylius\Bundle\CoreBundle\Controller\ProductTaxonController; |
15 | 15 | use Sylius\Bundle\CoreBundle\Form\Type\Product\ChannelPricingType; |
16 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
17 | -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
|
18 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
19 | 18 | use Sylius\Component\Core\Model\ChannelPricing; |
20 | 19 | use Sylius\Component\Core\Model\ChannelPricingInterface; |
@@ -82,6 +82,7 @@ |
||
82 | 82 | |
83 | 83 | /** |
84 | 84 | * {@inheritdoc} |
85 | + * @param string $url |
|
85 | 86 | */ |
86 | 87 | public function redirect(RequestConfiguration $configuration, $url, $status = 302) |
87 | 88 | { |
@@ -33,12 +33,13 @@ |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param string $name |
36 | - * @param mixed $value |
|
36 | + * @param string $value |
|
37 | 37 | */ |
38 | 38 | public function set($name, $value); |
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param string $name |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function remove($name); |
44 | 45 |
@@ -11,11 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\CoreBundle\Checkout; |
13 | 13 | |
14 | -use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface; |
|
15 | -use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration; |
|
16 | 14 | use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent; |
17 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
18 | -use Sylius\Component\Resource\Model\ResourceInterface; |
|
19 | 16 | use Symfony\Component\HttpFoundation\RedirectResponse; |
20 | 17 | use Symfony\Component\HttpFoundation\RequestMatcherInterface; |
21 | 18 | use Symfony\Component\HttpFoundation\RequestStack; |
@@ -19,6 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @param array $data |
21 | 21 | * @param array $recipients |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function sendContactRequest(array $data, array $recipients); |
24 | 25 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function sendConfirmationEmail(OrderInterface $order); |
25 | 26 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param ShipmentInterface $shipment |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function sendConfirmationEmail(ShipmentInterface $shipment); |
25 | 26 | } |
@@ -23,9 +23,6 @@ |
||
23 | 23 | final class OrderProductEligibilityValidator extends ConstraintValidator |
24 | 24 | { |
25 | 25 | /** |
26 | - * @param OrderInterface $value |
|
27 | - * |
|
28 | - * {@inheritdoc} |
|
29 | 26 | */ |
30 | 27 | public function validate($order, Constraint $constraint) |
31 | 28 | { |
@@ -36,9 +36,6 @@ |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @param OrderInterface $value |
|
40 | - * |
|
41 | - * {@inheritdoc} |
|
42 | 39 | */ |
43 | 40 | public function validate($order, Constraint $constraint) |
44 | 41 | { |