Completed
Push — bump-requirements ( 20feef...bd39d6 )
by Kamil
26:11
created
src/Sylius/Component/Core/Model/ImageAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,7 +15,13 @@
 block discarded – undo
15 15
 
16 16
 interface ImageAwareInterface
17 17
 {
18
+    /**
19
+     * @return ImageInterface
20
+     */
18 21
     public function getImage(): ?ImageInterface;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setImage(?ImageInterface $image): void;
21 27
 }
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/Behat/Page/Admin/Crud/CreatePageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @throws ElementNotFoundException
28
+     * @return void
28 29
      */
29 30
     public function create(): void;
30 31
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
      */
29 29
     public function hasResourceValues(array $parameters): bool;
30 30
 
31
+    /**
32
+     * @return void
33
+     */
31 34
     public function saveChanges(): void;
32 35
 
33 36
     public function getMessageInvalidForm(): string;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/IndexPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return \Generator
22
+     */
20 23
     public function getCouponCodes(): iterable;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/UpdatePageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -17,16 +17,34 @@
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function attachAvatar(string $path): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function changeUsername(string $username): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function changeEmail(string $email): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function changePassword(string $password): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function changeLocale(string $localeCode): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function removeAvatar(): void;
31 49
 
32 50
     public function hasAvatar(string $avatarPath): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/OrderContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -126,6 +126,7 @@
 block discarded – undo
126 126
      * @Given a customer :customer placed an order :orderNumber
127 127
      * @Given the customer :customer has already placed an order :orderNumber
128 128
      * @Given there is a customer :customer that placed an order :orderNumber in channel :channel
129
+     * @param string $orderNumber
129 130
      */
130 131
     public function thereIsCustomerThatPlacedOrder(CustomerInterface $customer, $orderNumber = null, $channel = null)
131 132
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/IndexPageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -24,19 +24,37 @@
 block discarded – undo
24 24
 
25 25
     public function getColumnFields(string $columnName): array;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function sortBy(string $fieldName): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function deleteResourceOnPage(array $parameters): void;
30 36
 
31 37
     public function getActionsForResource(array $parameters): NodeElement;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function checkResourceOnPage(array $parameters): void;
34 43
 
35 44
     public function countItems(): int;
36 45
 
46
+    /**
47
+     * @return void
48
+     */
37 49
     public function filter(): void;
38 50
 
51
+    /**
52
+     * @return void
53
+     */
39 54
     public function bulkDelete(): void;
40 55
 
56
+    /**
57
+     * @return void
58
+     */
41 59
     public function sort(string $order): void;
42 60
 }
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.