@@ -17,60 +17,76 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
| 25 | 31 | * @param string $name |
| 26 | 32 | * @param string $languageCode |
| 33 | + * @return void |
|
| 27 | 34 | */ |
| 28 | 35 | public function nameIt($name, $languageCode); |
| 29 | 36 | |
| 30 | 37 | /** |
| 31 | 38 | * @param string $code |
| 39 | + * @return void |
|
| 32 | 40 | */ |
| 33 | 41 | public function specifyCode($code); |
| 34 | 42 | |
| 35 | 43 | /** |
| 36 | 44 | * @param string $channelName |
| 45 | + * @return void |
|
| 37 | 46 | */ |
| 38 | 47 | public function checkChannel($channelName); |
| 39 | 48 | |
| 40 | 49 | /** |
| 41 | 50 | * @param string $description |
| 42 | 51 | * @param string $languageCode |
| 52 | + * @return void |
|
| 43 | 53 | */ |
| 44 | 54 | public function describeIt($description, $languageCode); |
| 45 | 55 | |
| 46 | 56 | /** |
| 47 | 57 | * @param string $instructions |
| 48 | 58 | * @param string $languageCode |
| 59 | + * @return void |
|
| 49 | 60 | */ |
| 50 | 61 | public function setInstructions($instructions, $languageCode); |
| 51 | 62 | |
| 52 | 63 | /** |
| 53 | 64 | * @param string $username |
| 65 | + * @return void |
|
| 54 | 66 | */ |
| 55 | 67 | public function setPaypalGatewayUsername($username); |
| 56 | 68 | |
| 57 | 69 | /** |
| 58 | 70 | * @param string $password |
| 71 | + * @return void |
|
| 59 | 72 | */ |
| 60 | 73 | public function setPaypalGatewayPassword($password); |
| 61 | 74 | |
| 62 | 75 | /** |
| 63 | 76 | * @param string $signature |
| 77 | + * @return void |
|
| 64 | 78 | */ |
| 65 | 79 | public function setPaypalGatewaySignature($signature); |
| 66 | 80 | |
| 67 | 81 | /** |
| 68 | 82 | * @param string $secretKey |
| 83 | + * @return void |
|
| 69 | 84 | */ |
| 70 | 85 | public function setStripeSecretKey($secretKey); |
| 71 | 86 | |
| 72 | 87 | /** |
| 73 | 88 | * @param string $publishableKey |
| 89 | + * @return void |
|
| 74 | 90 | */ |
| 75 | 91 | public function setStripePublishableKey($publishableKey); |
| 76 | 92 | |
@@ -17,28 +17,38 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
| 25 | 31 | * @param string $name |
| 26 | 32 | * @param string $languageCode |
| 33 | + * @return void |
|
| 27 | 34 | */ |
| 28 | 35 | public function nameIt($name, $languageCode); |
| 29 | 36 | |
| 30 | 37 | /** |
| 31 | 38 | * @param string $username |
| 39 | + * @return void |
|
| 32 | 40 | */ |
| 33 | 41 | public function setPaypalGatewayUsername($username); |
| 34 | 42 | |
| 35 | 43 | /** |
| 36 | 44 | * @param string $password |
| 45 | + * @return void |
|
| 37 | 46 | */ |
| 38 | 47 | public function setPaypalGatewayPassword($password); |
| 39 | 48 | |
| 40 | 49 | /** |
| 41 | 50 | * @param string $signature |
| 51 | + * @return void |
|
| 42 | 52 | */ |
| 43 | 53 | public function setPaypalGatewaySignature($signature); |
| 44 | 54 | |
@@ -17,23 +17,29 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface GeneratePageInterface extends SymfonyPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function generate(); |
| 21 | 24 | |
| 22 | 25 | /** |
| 23 | 26 | * @param int $nth |
| 24 | 27 | * @param int $price |
| 25 | 28 | * @param string $channelName |
| 29 | + * @return void |
|
| 26 | 30 | */ |
| 27 | 31 | public function specifyPrice($nth, $price, $channelName); |
| 28 | 32 | |
| 29 | 33 | /** |
| 30 | 34 | * @param int $nth |
| 31 | 35 | * @param string $code |
| 36 | + * @return void |
|
| 32 | 37 | */ |
| 33 | 38 | public function specifyCode($nth, $code); |
| 34 | 39 | |
| 35 | 40 | /** |
| 36 | 41 | * @param int $nth |
| 42 | + * @return void |
|
| 37 | 43 | */ |
| 38 | 44 | public function removeVariant($nth); |
| 39 | 45 | |
@@ -17,20 +17,26 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function addMember(); |
| 21 | 24 | |
| 22 | 25 | /** |
| 23 | 26 | * @param string $message |
| 27 | + * @return boolean |
|
| 24 | 28 | */ |
| 25 | 29 | public function checkValidationMessageForMembers($message); |
| 26 | 30 | |
| 27 | 31 | /** |
| 28 | 32 | * @param string $name |
| 33 | + * @return void |
|
| 29 | 34 | */ |
| 30 | 35 | public function chooseMember($name); |
| 31 | 36 | |
| 32 | 37 | /** |
| 33 | 38 | * @param string $scope |
| 39 | + * @return void |
|
| 34 | 40 | */ |
| 35 | 41 | public function selectScope($scope); |
| 36 | 42 | |
@@ -48,11 +54,13 @@ discard block |
||
| 48 | 54 | |
| 49 | 55 | /** |
| 50 | 56 | * @param string $name |
| 57 | + * @return void |
|
| 51 | 58 | */ |
| 52 | 59 | public function nameIt($name); |
| 53 | 60 | |
| 54 | 61 | /** |
| 55 | 62 | * @param string $code |
| 63 | + * @return void |
|
| 56 | 64 | */ |
| 57 | 65 | public function specifyCode($code); |
| 58 | 66 | } |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\GridBundle\Doctrine\ORM; |
| 15 | 15 | |
| 16 | -use Doctrine\ORM\Query\Expr\Comparison; |
|
| 17 | 16 | use Doctrine\ORM\QueryBuilder; |
| 17 | +use Doctrine\ORM\Query\Expr\Comparison; |
|
| 18 | 18 | use Sylius\Component\Grid\Data\ExpressionBuilderInterface; |
| 19 | 19 | |
| 20 | 20 | final class ExpressionBuilder implements ExpressionBuilderInterface |
@@ -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 | } |
@@ -19,8 +19,8 @@ |
||
| 19 | 19 | use Sylius\Component\Resource\Model\VersionedInterface; |
| 20 | 20 | use Sylius\Component\Shipping\Model\ShippableInterface; |
| 21 | 21 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
| 22 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 23 | 22 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 23 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 24 | 24 | |
| 25 | 25 | interface ProductVariantInterface extends |
| 26 | 26 | BaseVariantInterface, |
@@ -30,24 +30,58 @@ discard block |
||
| 30 | 30 | VersionedInterface, |
| 31 | 31 | ProductImagesAwareInterface |
| 32 | 32 | { |
| 33 | + /** |
|
| 34 | + * @return double |
|
| 35 | + */ |
|
| 33 | 36 | public function getWeight(): ?float; |
| 34 | 37 | |
| 38 | + /** |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 35 | 41 | public function setWeight(?float $weight): void; |
| 36 | 42 | |
| 43 | + /** |
|
| 44 | + * @return double |
|
| 45 | + */ |
|
| 37 | 46 | public function getWidth(): ?float; |
| 38 | 47 | |
| 48 | + /** |
|
| 49 | + * @return void |
|
| 50 | + */ |
|
| 39 | 51 | public function setWidth(?float $width): void; |
| 40 | 52 | |
| 53 | + /** |
|
| 54 | + * @return double |
|
| 55 | + */ |
|
| 41 | 56 | public function getHeight(): ?float; |
| 42 | 57 | |
| 58 | + /** |
|
| 59 | + * @return void |
|
| 60 | + */ |
|
| 43 | 61 | public function setHeight(?float $height): void; |
| 44 | 62 | |
| 63 | + /** |
|
| 64 | + * @return double |
|
| 65 | + */ |
|
| 45 | 66 | public function getDepth(): ?float; |
| 46 | 67 | |
| 68 | + /** |
|
| 69 | + * @return void |
|
| 70 | + */ |
|
| 47 | 71 | public function setDepth(?float $depth): void; |
| 48 | 72 | |
| 73 | + /** |
|
| 74 | + * @param TaxCategoryInterface $category |
|
| 75 | + * |
|
| 76 | + * @return void |
|
| 77 | + */ |
|
| 49 | 78 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
| 50 | 79 | |
| 80 | + /** |
|
| 81 | + * @param ShippingCategoryInterface $shippingCategory |
|
| 82 | + * |
|
| 83 | + * @return void |
|
| 84 | + */ |
|
| 51 | 85 | public function setShippingCategory(?ShippingCategoryInterface $shippingCategory): void; |
| 52 | 86 | |
| 53 | 87 | /** |
@@ -61,11 +95,20 @@ discard block |
||
| 61 | 95 | |
| 62 | 96 | public function hasChannelPricing(ChannelPricingInterface $channelPricing): bool; |
| 63 | 97 | |
| 98 | + /** |
|
| 99 | + * @return void |
|
| 100 | + */ |
|
| 64 | 101 | public function addChannelPricing(ChannelPricingInterface $channelPricing): void; |
| 65 | 102 | |
| 103 | + /** |
|
| 104 | + * @return void |
|
| 105 | + */ |
|
| 66 | 106 | public function removeChannelPricing(ChannelPricingInterface $channelPricing): void; |
| 67 | 107 | |
| 68 | 108 | public function isShippingRequired(): bool; |
| 69 | 109 | |
| 110 | + /** |
|
| 111 | + * @return void |
|
| 112 | + */ |
|
| 70 | 113 | public function setShippingRequired(bool $shippingRequired): void; |
| 71 | 114 | } |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Sylius\Component\Addressing\Model\ZoneInterface; |
| 17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
| 18 | 18 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
| 19 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 20 | 19 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 20 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 21 | 21 | |
| 22 | 22 | interface ShippingMethodInterface extends BaseShippingMethodInterface, TaxableInterface, ChannelsAwareInterface |
| 23 | 23 | { |
@@ -21,9 +21,20 @@ |
||
| 21 | 21 | |
| 22 | 22 | interface ShippingMethodInterface extends BaseShippingMethodInterface, TaxableInterface, ChannelsAwareInterface |
| 23 | 23 | { |
| 24 | + /** |
|
| 25 | + * @return ZoneInterface |
|
| 26 | + */ |
|
| 24 | 27 | public function getZone(): ?ZoneInterface; |
| 25 | 28 | |
| 29 | + /** |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 26 | 32 | public function setZone(?ZoneInterface $zone): void; |
| 27 | 33 | |
| 34 | + /** |
|
| 35 | + * @param TaxCategoryInterface $category |
|
| 36 | + * |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 28 | 39 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
| 29 | 40 | } |
@@ -15,5 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface UnpaidOrdersStateUpdaterInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return void |
|
| 20 | + */ |
|
| 18 | 21 | public function cancel(): void; |
| 19 | 22 | } |