Completed
Push — travis-xenial ( 84a270...92e80e )
by Kamil
26:32 queued 04:30
created
src/Sylius/Component/Attribute/Model/AttributeValueInterface.php 1 patch
Doc Comments   +29 added lines patch added patch discarded remove patch
@@ -31,28 +31,57 @@
 block discarded – undo
31 31
 
32 32
     public const STORAGE_TEXT = 'text';
33 33
 
34
+    /**
35
+     * @return AttributeSubjectInterface|null
36
+     */
34 37
     public function getSubject(): ?AttributeSubjectInterface;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function setSubject(?AttributeSubjectInterface $subject): void;
37 43
 
44
+    /**
45
+     * @return AttributeInterface|null
46
+     */
38 47
     public function getAttribute(): ?AttributeInterface;
39 48
 
49
+    /**
50
+     * @param \Sylius\Component\Product\Model\ProductAttributeInterface|null $attribute
51
+     *
52
+     * @return void
53
+     */
40 54
     public function setAttribute(?AttributeInterface $attribute): void;
41 55
 
42 56
     public function getValue();
43 57
 
58
+    /**
59
+     * @return void
60
+     */
44 61
     public function setValue($value): void;
45 62
 
63
+    /**
64
+     * @return string
65
+     */
46 66
     public function getCode(): ?string;
47 67
 
48 68
     public function getName(): ?string;
49 69
 
70
+    /**
71
+     * @return string
72
+     */
50 73
     public function getType(): ?string;
51 74
 
52 75
     /**
53 76
      * @throws \InvalidArgumentException
77
+     * @return string|null
54 78
      */
55 79
     public function getLocaleCode(): ?string;
56 80
 
81
+    /**
82
+     * @param string $localeCode
83
+     *
84
+     * @return void
85
+     */
57 86
     public function setLocaleCode(?string $localeCode): void;
58 87
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelPricingInterface.php 1 patch
Doc Comments   +25 added lines patch added patch discarded remove patch
@@ -17,12 +17,26 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface ChannelPricingInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return ProductVariantInterface|null
22
+     */
20 23
     public function getProductVariant(): ?ProductVariantInterface;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setProductVariant(?ProductVariantInterface $productVariant): void;
23 29
 
30
+    /**
31
+     * @return integer|null
32
+     */
24 33
     public function getPrice(): ?int;
25 34
 
35
+    /**
36
+     * @param integer $price
37
+     *
38
+     * @return void
39
+     */
26 40
     public function setPrice(?int $price): void;
27 41
 
28 42
     /**
@@ -30,10 +44,21 @@  discard block
 block discarded – undo
30 44
      */
31 45
     public function getChannelCode(): ?string;
32 46
 
47
+    /**
48
+     * @return void
49
+     */
33 50
     public function setChannelCode(?string $channelCode): void;
34 51
 
52
+    /**
53
+     * @return integer|null
54
+     */
35 55
     public function getOriginalPrice(): ?int;
36 56
 
57
+    /**
58
+     * @param integer $originalPrice
59
+     *
60
+     * @return void
61
+     */
37 62
     public function setOriginalPrice(?int $originalPrice): void;
38 63
 
39 64
     public function isPriceReduced(): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/CustomerInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -27,12 +27,24 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function getOrders(): Collection;
29 29
 
30
+    /**
31
+     * @return AddressInterface|null
32
+     */
30 33
     public function getDefaultAddress(): ?AddressInterface;
31 34
 
35
+    /**
36
+     * @return void
37
+     */
32 38
     public function setDefaultAddress(?AddressInterface $defaultAddress): void;
33 39
 
40
+    /**
41
+     * @return void
42
+     */
34 43
     public function addAddress(AddressInterface $address): void;
35 44
 
45
+    /**
46
+     * @return void
47
+     */
36 48
     public function removeAddress(AddressInterface $address): void;
37 49
 
38 50
     public function hasAddress(AddressInterface $address): bool;
@@ -53,6 +65,7 @@  discard block
 block discarded – undo
53 65
 
54 66
     /**
55 67
      * @param ShopUserInterface|UserInterface|null $user
68
+     * @return void
56 69
      */
57 70
     public function setUser(?UserInterface $user);
58 71
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImageInterface.php 1 patch
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -22,16 +22,35 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function getType(): ?string;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function setType(?string $type): void;
26 29
 
30
+    /**
31
+     * @return \SplFileInfo|null
32
+     */
27 33
     public function getFile(): ?\SplFileInfo;
28 34
 
35
+    /**
36
+     * @param \Symfony\Component\HttpFoundation\File\UploadedFile $file
37
+     *
38
+     * @return void
39
+     */
29 40
     public function setFile(?\SplFileInfo $file): void;
30 41
 
31 42
     public function hasFile(): bool;
32 43
 
44
+    /**
45
+     * @return string|null
46
+     */
33 47
     public function getPath(): ?string;
34 48
 
49
+    /**
50
+     * @param string $path
51
+     *
52
+     * @return void
53
+     */
35 54
     public function setPath(?string $path): void;
36 55
 
37 56
     /**
@@ -41,6 +60,7 @@  discard block
 block discarded – undo
41 60
 
42 61
     /**
43 62
      * @param object|null $owner
63
+     * @return void
44 64
      */
45 65
     public function setOwner($owner): void;
46 66
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/AdjustableInterface.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,22 +18,32 @@
 block discarded – undo
18 18
 interface AdjustableInterface
19 19
 {
20 20
     /**
21
-     * @return AdjustmentInterface[]
21
+     * @return Collection
22 22
      *
23 23
      * @psalm-return Collection<array-key, AdjustmentInterface>
24 24
      */
25 25
     public function getAdjustments(?string $type = null): Collection;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function addAdjustment(AdjustmentInterface $adjustment): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function removeAdjustment(AdjustmentInterface $adjustment): void;
30 36
 
31 37
     public function getAdjustmentsTotal(?string $type = null): int;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function removeAdjustments(?string $type = null): void;
34 43
 
35 44
     /**
36 45
      * Recalculates adjustments total. Should be used after adjustment change.
46
+     * @return void
37 47
      */
38 48
     public function recalculateAdjustmentsTotal(): void;
39 49
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionValueInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -20,16 +20,30 @@
 block discarded – undo
20 20
 
21 21
 interface ProductOptionValueInterface extends ResourceInterface, CodeAwareInterface, TranslatableInterface
22 22
 {
23
+    /**
24
+     * @return ProductOptionInterface|null
25
+     */
23 26
     public function getOption(): ?ProductOptionInterface;
24 27
 
28
+    /**
29
+     * @param ProductOptionInterface|null $option
30
+     *
31
+     * @return void
32
+     */
25 33
     public function setOption(?ProductOptionInterface $option): void;
26 34
 
27 35
     public function getValue(): ?string;
28 36
 
37
+    /**
38
+     * @return void
39
+     */
29 40
     public function setValue(?string $value): void;
30 41
 
31 42
     public function getOptionCode(): ?string;
32 43
 
44
+    /**
45
+     * @return string
46
+     */
33 47
     public function getName(): ?string;
34 48
 
35 49
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserAwareInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -15,7 +15,15 @@
 block discarded – undo
15 15
 
16 16
 interface UserAwareInterface
17 17
 {
18
+    /**
19
+     * @return null|UserInterface
20
+     */
18 21
     public function getUser(): ?UserInterface;
19 22
 
23
+    /**
24
+     * @param null|User $user
25
+     *
26
+     * @return void
27
+     */
20 28
     public function setUser(?UserInterface $user);
21 29
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function hasShippingMethod(ShippingMethodInterface $shippingMethod): bool;
40 40
 
41
+    /**
42
+     * @return void
43
+     */
41 44
     public function addNotes(string $notes): void;
42 45
 
43 46
     public function hasPromotionTotal(string $promotionTotal): bool;
@@ -62,12 +65,24 @@  discard block
 block discarded – undo
62 65
 
63 66
     public function hasCurrency(string $currencyCode): bool;
64 67
 
68
+    /**
69
+     * @return void
70
+     */
65 71
     public function confirmOrder(): void;
66 72
 
73
+    /**
74
+     * @return void
75
+     */
67 76
     public function changeAddress(): void;
68 77
 
78
+    /**
79
+     * @return void
80
+     */
69 81
     public function changeShippingMethod(): void;
70 82
 
83
+    /**
84
+     * @return void
85
+     */
71 86
     public function changePaymentMethod(): void;
72 87
 
73 88
     public function hasShippingProvinceName(string $provinceName): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,18 +17,33 @@
 block discarded – undo
17 17
 
18 18
 interface SelectPaymentPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function selectPaymentMethod(string $paymentMethod): void;
21 24
 
22 25
     public function hasPaymentMethod(string $paymentMethodName): bool;
23 26
 
24 27
     public function getItemSubtotal(string $itemName): string;
25 28
 
29
+    /**
30
+     * @return void
31
+     */
26 32
     public function nextStep(): void;
27 33
 
34
+    /**
35
+     * @return void
36
+     */
28 37
     public function changeShippingMethod(): void;
29 38
 
39
+    /**
40
+     * @return void
41
+     */
30 42
     public function changeShippingMethodByStepLabel(): void;
31 43
 
44
+    /**
45
+     * @return void
46
+     */
32 47
     public function changeAddressByStepLabel(): void;
33 48
 
34 49
     public function hasNoAvailablePaymentMethodsWarning(): bool;
Please login to merge, or discard this patch.