Completed
Push — 1.5-lint-container ( 339259...ddb6cd )
by Kamil
05:28
created
src/Sylius/Component/User/Model/UserInterface.php 1 patch
Doc Comments   +78 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function getEmail(): ?string;
35 35
 
36
+    /**
37
+     * @return void
38
+     */
36 39
     public function setEmail(?string $email): void;
37 40
 
38 41
     /**
@@ -40,49 +43,110 @@  discard block
 block discarded – undo
40 43
      */
41 44
     public function getEmailCanonical(): ?string;
42 45
 
46
+    /**
47
+     * @return void
48
+     */
43 49
     public function setEmailCanonical(?string $emailCanonical): void;
44 50
 
51
+    /**
52
+     * @return void
53
+     */
45 54
     public function setUsername(?string $username): void;
46 55
 
47 56
     /**
48 57
      * Gets normalized username (should be used in search and sort queries).
58
+     * @return string|null
49 59
      */
50 60
     public function getUsernameCanonical(): ?string;
51 61
 
62
+    /**
63
+     * @return void
64
+     */
52 65
     public function setUsernameCanonical(?string $usernameCanonical): void;
53 66
 
67
+    /**
68
+     * @return void
69
+     */
54 70
     public function setLocked(bool $locked): void;
55 71
 
72
+    /**
73
+     * @return string|null
74
+     */
56 75
     public function getEmailVerificationToken(): ?string;
57 76
 
77
+    /**
78
+     * @return void
79
+     */
58 80
     public function setEmailVerificationToken(?string $verificationToken): void;
59 81
 
82
+    /**
83
+     * @return string|null
84
+     */
60 85
     public function getPasswordResetToken(): ?string;
61 86
 
87
+    /**
88
+     * @param string|null $passwordResetToken
89
+     *
90
+     * @return void
91
+     */
62 92
     public function setPasswordResetToken(?string $passwordResetToken): void;
63 93
 
94
+    /**
95
+     * @return \DateTimeInterface|null
96
+     */
64 97
     public function getPasswordRequestedAt(): ?\DateTimeInterface;
65 98
 
99
+    /**
100
+     * @param \DateTime|null $date
101
+     *
102
+     * @return void
103
+     */
66 104
     public function setPasswordRequestedAt(?\DateTimeInterface $date): void;
67 105
 
68 106
     public function isPasswordRequestNonExpired(\DateInterval $ttl): bool;
69 107
 
70 108
     public function isVerified(): bool;
71 109
 
110
+    /**
111
+     * @return \DateTimeInterface|null
112
+     */
72 113
     public function getVerifiedAt(): ?\DateTimeInterface;
73 114
 
115
+    /**
116
+     * @param \DateTime|null $verifiedAt
117
+     *
118
+     * @return void
119
+     */
74 120
     public function setVerifiedAt(?\DateTimeInterface $verifiedAt): void;
75 121
 
122
+    /**
123
+     * @return \DateTimeInterface|null
124
+     */
76 125
     public function getExpiresAt(): ?\DateTimeInterface;
77 126
 
127
+    /**
128
+     * @return void
129
+     */
78 130
     public function setExpiresAt(?\DateTimeInterface $date): void;
79 131
 
132
+    /**
133
+     * @return \DateTimeInterface|null
134
+     */
80 135
     public function getCredentialsExpireAt(): ?\DateTimeInterface;
81 136
 
137
+    /**
138
+     * @return void
139
+     */
82 140
     public function setCredentialsExpireAt(?\DateTimeInterface $date): void;
83 141
 
142
+    /**
143
+     * @return \DateTimeInterface|null
144
+     */
84 145
     public function getLastLogin(): ?\DateTimeInterface;
85 146
 
147
+    /**
148
+     * @return void
149
+     */
86 150
     public function setLastLogin(?\DateTimeInterface $time): void;
87 151
 
88 152
     /**
@@ -95,8 +159,14 @@  discard block
 block discarded – undo
95 159
      */
96 160
     public function hasRole(string $role): bool;
97 161
 
162
+    /**
163
+     * @return void
164
+     */
98 165
     public function addRole(string $role): void;
99 166
 
167
+    /**
168
+     * @return void
169
+     */
100 170
     public function removeRole(string $role): void;
101 171
 
102 172
     /**
@@ -106,7 +176,15 @@  discard block
 block discarded – undo
106 176
 
107 177
     public function getOAuthAccount(string $provider): ?UserOAuthInterface;
108 178
 
179
+    /**
180
+     * @return void
181
+     */
109 182
     public function addOAuthAccount(UserOAuthInterface $oauth): void;
110 183
 
184
+    /**
185
+     * @param string $encoderName
186
+     *
187
+     * @return void
188
+     */
111 189
     public function setEncoderName(?string $encoderName): void;
112 190
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Element/Admin/Channel/ShopBillingDataElementInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -6,10 +6,19 @@
 block discarded – undo
6 6
 
7 7
 interface ShopBillingDataElementInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function specifyCompany(string $company): void;
10 13
 
14
+    /**
15
+     * @return void
16
+     */
11 17
     public function specifyTaxId(string $taxId): void;
12 18
 
19
+    /**
20
+     * @return void
21
+     */
13 22
     public function specifyBillingAddress(string $street, string $postcode, string $city, string $countryCode): void;
14 23
 
15 24
     public function hasCompany(string $company): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/UpdatePageInterface.php 1 patch
Doc Comments   +22 added lines patch added patch discarded remove patch
@@ -18,23 +18,45 @@
 block discarded – undo
18 18
 
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable(): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function disable(): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function setTheme(string $themeName): void;
26 35
 
27 36
     /**
28 37
      * @throws ElementNotFoundException
38
+     * @return void
29 39
      */
30 40
     public function unsetTheme(): void;
31 41
 
42
+    /**
43
+     * @return void
44
+     */
32 45
     public function chooseLocale(string $language): void;
33 46
 
47
+    /**
48
+     * @return void
49
+     */
34 50
     public function chooseCurrency(string $currencyCode): void;
35 51
 
52
+    /**
53
+     * @return void
54
+     */
36 55
     public function chooseDefaultTaxZone(string $taxZone): void;
37 56
 
57
+    /**
58
+     * @return void
59
+     */
38 60
     public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void;
39 61
 
40 62
     public function isCodeDisabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Customer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -59,6 +59,7 @@
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * {@inheritdoc}
62
+     * @param AddressInterface $defaultAddress
62 63
      */
63 64
     public function setDefaultAddress(?AddressInterface $defaultAddress): void
64 65
     {
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
@@ -25,12 +25,24 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getOrders(): Collection;
27 27
 
28
+    /**
29
+     * @return AddressInterface
30
+     */
28 31
     public function getDefaultAddress(): ?AddressInterface;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function setDefaultAddress(?AddressInterface $defaultAddress): void;
31 37
 
38
+    /**
39
+     * @return void
40
+     */
32 41
     public function addAddress(AddressInterface $address): void;
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function removeAddress(AddressInterface $address): void;
35 47
 
36 48
     public function hasAddress(AddressInterface $address): bool;
@@ -49,6 +61,7 @@  discard block
 block discarded – undo
49 61
 
50 62
     /**
51 63
      * @param ShopUserInterface|UserInterface|null $user
64
+     * @return void
52 65
      */
53 66
     public function setUser(?UserInterface $user);
54 67
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShopBillingDataInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -15,27 +15,63 @@
 block discarded – undo
15 15
 
16 16
 interface ShopBillingDataInterface
17 17
 {
18
+    /**
19
+     * @return string|null
20
+     */
18 21
     public function getTaxId(): ?string;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setTaxId(?string $taxId): void;
21 27
 
28
+    /**
29
+     * @return string|null
30
+     */
22 31
     public function getCompany(): ?string;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function setCompany(?string $company): void;
25 37
 
38
+    /**
39
+     * @return string|null
40
+     */
26 41
     public function getCountryCode(): ?string;
27 42
 
43
+    /**
44
+     * @return void
45
+     */
28 46
     public function setCountryCode(?string $countryCode): void;
29 47
 
48
+    /**
49
+     * @return string|null
50
+     */
30 51
     public function getStreet(): ?string;
31 52
 
53
+    /**
54
+     * @return void
55
+     */
32 56
     public function setStreet(?string $street): void;
33 57
 
58
+    /**
59
+     * @return string|null
60
+     */
34 61
     public function getCity(): ?string;
35 62
 
63
+    /**
64
+     * @return void
65
+     */
36 66
     public function setCity(?string $city): void;
37 67
 
68
+    /**
69
+     * @return string|null
70
+     */
38 71
     public function getPostcode(): ?string;
39 72
 
73
+    /**
74
+     * @return void
75
+     */
40 76
     public function setPostcode(?string $postcode): void;
41 77
 }
Please login to merge, or discard this patch.
Sylius/Behat/Page/Admin/Product/CreateConfigurableProductPageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -18,15 +18,30 @@
 block discarded – undo
18 18
 
19 19
 interface CreateConfigurableProductPageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function selectOption(string $optionName): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyCode(string $code): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function nameItIn(string $name, string $localeCode): void;
26 35
 
27 36
     public function isMainTaxonChosen(string $taxonName): bool;
28 37
 
38
+    /**
39
+     * @return void
40
+     */
29 41
     public function selectMainTaxon(TaxonInterface $taxon): void;
30 42
 
43
+    /**
44
+     * @return void
45
+     */
31 46
     public function attachImage(string $path, ?string $type = null): void;
32 47
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPageInterface.php 1 patch
Doc Comments   +48 added lines patch added patch discarded remove patch
@@ -19,42 +19,90 @@
 block discarded – undo
19 19
 
20 20
 interface CreateSimpleProductPageInterface extends BaseCreatePageInterface
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function specifyPrice(string $channelName, string $price): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyOriginalPrice(string $channelName, int $originalPrice): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function choosePricingCalculator(string $name): void;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function checkChannel(string $channelName): void;
29 41
 
42
+    /**
43
+     * @return void
44
+     */
30 45
     public function specifyCode(string $code): void;
31 46
 
47
+    /**
48
+     * @return void
49
+     */
32 50
     public function nameItIn(string $name, string $localeCode): void;
33 51
 
52
+    /**
53
+     * @return void
54
+     */
34 55
     public function specifySlugIn(?string $slug, string $locale): void;
35 56
 
57
+    /**
58
+     * @return void
59
+     */
36 60
     public function addAttribute(string $attributeName, string $value, string $localeCode): void;
37 61
 
38 62
     public function getAttributeValidationErrors(string $attributeName, string $localeCode): string;
39 63
 
64
+    /**
65
+     * @return void
66
+     */
40 67
     public function removeAttribute(string $attributeName, string $localeCode): void;
41 68
 
42 69
     public function isMainTaxonChosen(string $taxonName): bool;
43 70
 
71
+    /**
72
+     * @return void
73
+     */
44 74
     public function selectMainTaxon(TaxonInterface $taxon): void;
45 75
 
76
+    /**
77
+     * @param string $type
78
+     *
79
+     * @return void
80
+     */
46 81
     public function attachImage(string $path, ?string $type = null): void;
47 82
 
48 83
     /**
49 84
      * @param string[] $productsNames
85
+     * @return void
50 86
      */
51 87
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames): void;
52 88
 
89
+    /**
90
+     * @return void
91
+     */
53 92
     public function removeAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): void;
54 93
 
94
+    /**
95
+     * @return void
96
+     */
55 97
     public function activateLanguageTab(string $locale): void;
56 98
 
99
+    /**
100
+     * @return void
101
+     */
57 102
     public function selectShippingCategory(string $shippingCategoryName): void;
58 103
 
104
+    /**
105
+     * @return void
106
+     */
59 107
     public function setShippingRequired(bool $isShippingRequired): void;
60 108
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelInterface.php 1 patch
Doc Comments   +51 added lines patch added patch discarded remove patch
@@ -25,43 +25,94 @@
 block discarded – undo
25 25
     CurrenciesAwareInterface,
26 26
     LocalesAwareInterface
27 27
 {
28
+    /**
29
+     * @return CurrencyInterface
30
+     */
28 31
     public function getBaseCurrency(): ?CurrencyInterface;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function setBaseCurrency(?CurrencyInterface $currency): void;
31 37
 
38
+    /**
39
+     * @return LocaleInterface
40
+     */
32 41
     public function getDefaultLocale(): ?LocaleInterface;
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function setDefaultLocale(?LocaleInterface $locale): void;
35 47
 
48
+    /**
49
+     * @return ZoneInterface
50
+     */
36 51
     public function getDefaultTaxZone(): ?ZoneInterface;
37 52
 
53
+    /**
54
+     * @return void
55
+     */
38 56
     public function setDefaultTaxZone(?ZoneInterface $defaultTaxZone): void;
39 57
 
58
+    /**
59
+     * @return string
60
+     */
40 61
     public function getTaxCalculationStrategy(): ?string;
41 62
 
63
+    /**
64
+     * @return void
65
+     */
42 66
     public function setTaxCalculationStrategy(?string $taxCalculationStrategy): void;
43 67
 
68
+    /**
69
+     * @return string
70
+     */
44 71
     public function getThemeName(): ?string;
45 72
 
73
+    /**
74
+     * @return void
75
+     */
46 76
     public function setThemeName(?string $themeName): void;
47 77
 
78
+    /**
79
+     * @return string
80
+     */
48 81
     public function getContactEmail(): ?string;
49 82
 
83
+    /**
84
+     * @return void
85
+     */
50 86
     public function setContactEmail(?string $contactEmail): void;
51 87
 
52 88
     public function isSkippingShippingStepAllowed(): bool;
53 89
 
90
+    /**
91
+     * @return void
92
+     */
54 93
     public function setSkippingShippingStepAllowed(bool $skippingShippingStepAllowed): void;
55 94
 
56 95
     public function isSkippingPaymentStepAllowed(): bool;
57 96
 
97
+    /**
98
+     * @return void
99
+     */
58 100
     public function setSkippingPaymentStepAllowed(bool $skippingPaymentStepAllowed): void;
59 101
 
60 102
     public function isAccountVerificationRequired(): bool;
61 103
 
104
+    /**
105
+     * @return void
106
+     */
62 107
     public function setAccountVerificationRequired(bool $accountVerificationRequired): void;
63 108
 
109
+    /**
110
+     * @return ShopBillingDataInterface|null
111
+     */
64 112
     public function getShopBillingData(): ?ShopBillingDataInterface;
65 113
 
114
+    /**
115
+     * @return void
116
+     */
66 117
     public function setShopBillingData(ShopBillingDataInterface $shopBillingData): void;
67 118
 }
Please login to merge, or discard this patch.