Completed
Push — 1.5-use-fob-mink ( a0246c )
by Kamil
33:47 queued 10:05
created
src/Sylius/Behat/Context/Transform/TaxonContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * @Transform /^taxon with "([^"]+)" name/
38 38
      * @Transform /^taxon "([^"]+)"$/
39 39
      * @Transform :taxon
40
+     * @param string $name
40 41
      */
41 42
     public function getTaxonByName($name)
42 43
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/UpdatePageInterface.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -17,26 +17,50 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setPriority(?int $priority): void;
21 24
 
22 25
     public function getPriority(): int;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function nameIt(string $name): void;
25 31
 
26 32
     public function checkChannelsState(string $channelName): bool;
27 33
 
28 34
     public function isCodeDisabled(): bool;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function fillUsageLimit(string $limit): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function makeExclusive(): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function checkCouponBased(): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function checkChannel(string $name): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function setStartsAt(\DateTimeInterface $dateTime): void;
39 60
 
61
+    /**
62
+     * @return void
63
+     */
40 64
     public function setEndsAt(\DateTimeInterface $dateTime): void;
41 65
 
42 66
     public function hasStartsAt(\DateTimeInterface $dateTime): bool;
@@ -45,6 +69,9 @@  discard block
 block discarded – undo
45 69
 
46 70
     public function isCouponManagementAvailable(): bool;
47 71
 
72
+    /**
73
+     * @return void
74
+     */
48 75
     public function manageCoupons(): void;
49 76
 
50 77
     public function hasAnyRule(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/UpdatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -19,8 +19,14 @@  discard block
 block discarded – undo
19 19
 
20 20
 interface UpdatePageInterface extends BaseUpdatePageInterface
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function disableTracking(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function enableTracking(): void;
25 31
 
26 32
     public function isCodeDisabled(): bool;
@@ -39,9 +45,18 @@  discard block
 block discarded – undo
39 45
 
40 46
     public function getNameInLanguage(string $language): string;
41 47
 
48
+    /**
49
+     * @return void
50
+     */
42 51
     public function selectOption(string $optionName, string $optionValue): void;
43 52
 
53
+    /**
54
+     * @return void
55
+     */
44 56
     public function specifyCurrentStock(int $amount): void;
45 57
 
58
+    /**
59
+     * @return void
60
+     */
46 61
     public function specifyPrice(int $price): void;
47 62
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -31,13 +31,25 @@
 block discarded – undo
31 31
         ?string $baseLocaleCode = null
32 32
     ): Collection;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addAttribute(AttributeValueInterface $attribute): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeAttribute(AttributeValueInterface $attribute): void;
37 43
 
38 44
     public function hasAttribute(AttributeValueInterface $attribute): bool;
39 45
 
46
+    /**
47
+     * @param string $localeCode
48
+     */
40 49
     public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool;
41 50
 
51
+    /**
52
+     * @param string $localeCode
53
+     */
42 54
     public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface;
43 55
 }
Please login to merge, or discard this patch.
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
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
46
+     */
38 47
     public function getAttribute(): ?AttributeInterface;
39 48
 
49
+    /**
50
+     * @param \Sylius\Component\Product\Model\ProductAttributeInterface $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
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/Customer/Model/CustomerInterface.php 1 patch
Doc Comments   +44 added lines patch added patch discarded remove patch
@@ -24,35 +24,64 @@  discard block
 block discarded – undo
24 24
 
25 25
     public const FEMALE_GENDER = 'f';
26 26
 
27
+    /**
28
+     * @return string|null
29
+     */
27 30
     public function getEmail(): ?string;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function setEmail(?string $email): void;
30 36
 
31 37
     /**
32 38
      * Gets normalized email (should be used in search and sort queries).
39
+     * @return string|null
33 40
      */
34 41
     public function getEmailCanonical(): ?string;
35 42
 
43
+    /**
44
+     * @return void
45
+     */
36 46
     public function setEmailCanonical(?string $emailCanonical): void;
37 47
 
38 48
     public function getFullName(): string;
39 49
 
50
+    /**
51
+     * @return string|null
52
+     */
40 53
     public function getFirstName(): ?string;
41 54
 
55
+    /**
56
+     * @return void
57
+     */
42 58
     public function setFirstName(?string $firstName): void;
43 59
 
60
+    /**
61
+     * @return string|null
62
+     */
44 63
     public function getLastName(): ?string;
45 64
 
65
+    /**
66
+     * @return void
67
+     */
46 68
     public function setLastName(?string $lastName): void;
47 69
 
70
+    /**
71
+     * @return \DateTimeInterface|null
72
+     */
48 73
     public function getBirthday(): ?\DateTimeInterface;
49 74
 
75
+    /**
76
+     * @return void
77
+     */
50 78
     public function setBirthday(?\DateTimeInterface $birthday): void;
51 79
 
52 80
     public function getGender(): string;
53 81
 
54 82
     /**
55 83
      * You should use interface constants for that.
84
+     * @return void
56 85
      */
57 86
     public function setGender(string $gender): void;
58 87
 
@@ -60,15 +89,30 @@  discard block
 block discarded – undo
60 89
 
61 90
     public function isFemale(): bool;
62 91
 
92
+    /**
93
+     * @return CustomerGroupInterface|null
94
+     */
63 95
     public function getGroup(): ?CustomerGroupInterface;
64 96
 
97
+    /**
98
+     * @return void
99
+     */
65 100
     public function setGroup(?CustomerGroupInterface $group): void;
66 101
 
102
+    /**
103
+     * @return string|null
104
+     */
67 105
     public function getPhoneNumber(): ?string;
68 106
 
107
+    /**
108
+     * @return void
109
+     */
69 110
     public function setPhoneNumber(?string $phoneNumber): void;
70 111
 
71 112
     public function isSubscribedToNewsletter(): bool;
72 113
 
114
+    /**
115
+     * @return void
116
+     */
73 117
     public function setSubscribedToNewsletter(bool $subscribedToNewsletter): void;
74 118
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Doc Comments   +43 added lines patch added patch discarded remove patch
@@ -27,20 +27,45 @@  discard block
 block discarded – undo
27 27
 
28 28
     public const STATE_FULFILLED = 'fulfilled';
29 29
 
30
+    /**
31
+     * @return \DateTimeInterface|null
32
+     */
30 33
     public function getCheckoutCompletedAt(): ?\DateTimeInterface;
31 34
 
35
+    /**
36
+     * @param \DateTime $checkoutCompletedAt
37
+     *
38
+     * @return void
39
+     */
32 40
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
33 41
 
34 42
     public function isCheckoutCompleted(): bool;
35 43
 
44
+    /**
45
+     * @return void
46
+     */
36 47
     public function completeCheckout(): void;
37 48
 
49
+    /**
50
+     * @return string|null
51
+     */
38 52
     public function getNumber(): ?string;
39 53
 
54
+    /**
55
+     * @return void
56
+     */
40 57
     public function setNumber(?string $number): void;
41 58
 
59
+    /**
60
+     * @return string|null
61
+     */
42 62
     public function getNotes(): ?string;
43 63
 
64
+    /**
65
+     * @param string $notes
66
+     *
67
+     * @return void
68
+     */
44 69
     public function setNotes(?string $notes): void;
45 70
 
46 71
     /**
@@ -48,18 +73,30 @@  discard block
 block discarded – undo
48 73
      */
49 74
     public function getItems(): Collection;
50 75
 
76
+    /**
77
+     * @return void
78
+     */
51 79
     public function clearItems(): void;
52 80
 
53 81
     public function countItems(): int;
54 82
 
83
+    /**
84
+     * @return void
85
+     */
55 86
     public function addItem(OrderItemInterface $item): void;
56 87
 
88
+    /**
89
+     * @return void
90
+     */
57 91
     public function removeItem(OrderItemInterface $item): void;
58 92
 
59 93
     public function hasItem(OrderItemInterface $item): bool;
60 94
 
61 95
     public function getItemsTotal(): int;
62 96
 
97
+    /**
98
+     * @return void
99
+     */
63 100
     public function recalculateItemsTotal(): void;
64 101
 
65 102
     public function getTotal(): int;
@@ -68,6 +105,9 @@  discard block
 block discarded – undo
68 105
 
69 106
     public function getState(): string;
70 107
 
108
+    /**
109
+     * @return void
110
+     */
71 111
     public function setState(string $state): void;
72 112
 
73 113
     public function isEmpty(): bool;
@@ -79,5 +119,8 @@  discard block
 block discarded – undo
79 119
 
80 120
     public function getAdjustmentsTotalRecursively(?string $type = null): int;
81 121
 
122
+    /**
123
+     * @return void
124
+     */
82 125
     public function removeAdjustmentsRecursively(?string $type = null): void;
83 126
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/ReviewInterface.php 1 patch
Doc Comments   +38 added lines patch added patch discarded remove patch
@@ -24,27 +24,65 @@
 block discarded – undo
24 24
 
25 25
     public const STATUS_REJECTED = 'rejected';
26 26
 
27
+    /**
28
+     * @return string
29
+     */
27 30
     public function getTitle(): ?string;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function setTitle(?string $title): void;
30 36
 
37
+    /**
38
+     * @return integer
39
+     */
31 40
     public function getRating(): ?int;
32 41
 
42
+    /**
43
+     * @return void
44
+     */
33 45
     public function setRating(?int $rating): void;
34 46
 
47
+    /**
48
+     * @return string
49
+     */
35 50
     public function getComment(): ?string;
36 51
 
52
+    /**
53
+     * @return void
54
+     */
37 55
     public function setComment(?string $comment): void;
38 56
 
57
+    /**
58
+     * @return ReviewerInterface
59
+     */
39 60
     public function getAuthor(): ?ReviewerInterface;
40 61
 
62
+    /**
63
+     * @return void
64
+     */
41 65
     public function setAuthor(?ReviewerInterface $author): void;
42 66
 
67
+    /**
68
+     * @return string
69
+     */
43 70
     public function getStatus(): ?string;
44 71
 
72
+    /**
73
+     * @return void
74
+     */
45 75
     public function setStatus(?string $status): void;
46 76
 
77
+    /**
78
+     * @return ReviewableInterface
79
+     */
47 80
     public function getReviewSubject(): ?ReviewableInterface;
48 81
 
82
+    /**
83
+     * @param ReviewableInterface $reviewSubject
84
+     *
85
+     * @return void
86
+     */
49 87
     public function setReviewSubject(?ReviewableInterface $reviewSubject): void;
50 88
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -27,12 +27,24 @@  discard block
 block discarded – undo
27 27
 
28 28
     public const STATE_CANCELLED = 'cancelled';
29 29
 
30
+    /**
31
+     * @return string
32
+     */
30 33
     public function getState(): ?string;
31 34
 
35
+    /**
36
+     * @return void
37
+     */
32 38
     public function setState(?string $state): void;
33 39
 
40
+    /**
41
+     * @return ShippingMethodInterface
42
+     */
34 43
     public function getMethod(): ?ShippingMethodInterface;
35 44
 
45
+    /**
46
+     * @return void
47
+     */
36 48
     public function setMethod(?ShippingMethodInterface $method): void;
37 49
 
38 50
     /**
@@ -40,14 +52,26 @@  discard block
 block discarded – undo
40 52
      */
41 53
     public function getUnits(): Collection;
42 54
 
55
+    /**
56
+     * @return void
57
+     */
43 58
     public function addUnit(ShipmentUnitInterface $unit): void;
44 59
 
60
+    /**
61
+     * @return void
62
+     */
45 63
     public function removeUnit(ShipmentUnitInterface $unit): void;
46 64
 
47 65
     public function hasUnit(ShipmentUnitInterface $unit): bool;
48 66
 
67
+    /**
68
+     * @return string
69
+     */
49 70
     public function getTracking(): ?string;
50 71
 
72
+    /**
73
+     * @return void
74
+     */
51 75
     public function setTracking(?string $tracking): void;
52 76
 
53 77
     public function isTracked(): bool;
Please login to merge, or discard this patch.