Completed
Push — 1.3-extract-fixtures-bundle ( 06f1fa )
by Kamil
605:20 queued 582:17
created
src/Sylius/Component/User/Model/UserInterface.php 1 patch
Doc Comments   +73 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function getEmail(): ?string;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function setEmail(?string $email): void;
35 38
 
36 39
     /**
@@ -38,49 +41,110 @@  discard block
 block discarded – undo
38 41
      */
39 42
     public function getEmailCanonical(): ?string;
40 43
 
44
+    /**
45
+     * @return void
46
+     */
41 47
     public function setEmailCanonical(?string $emailCanonical): void;
42 48
 
49
+    /**
50
+     * @return void
51
+     */
43 52
     public function setUsername(?string $username): void;
44 53
 
45 54
     /**
46 55
      * Gets normalized username (should be used in search and sort queries).
56
+     * @return string|null
47 57
      */
48 58
     public function getUsernameCanonical(): ?string;
49 59
 
60
+    /**
61
+     * @return void
62
+     */
50 63
     public function setUsernameCanonical(?string $usernameCanonical): void;
51 64
 
65
+    /**
66
+     * @return void
67
+     */
52 68
     public function setLocked(bool $locked): void;
53 69
 
70
+    /**
71
+     * @return string|null
72
+     */
54 73
     public function getEmailVerificationToken(): ?string;
55 74
 
75
+    /**
76
+     * @return void
77
+     */
56 78
     public function setEmailVerificationToken(?string $verificationToken): void;
57 79
 
80
+    /**
81
+     * @return string|null
82
+     */
58 83
     public function getPasswordResetToken(): ?string;
59 84
 
85
+    /**
86
+     * @param string|null $passwordResetToken
87
+     *
88
+     * @return void
89
+     */
60 90
     public function setPasswordResetToken(?string $passwordResetToken): void;
61 91
 
92
+    /**
93
+     * @return \DateTimeInterface|null
94
+     */
62 95
     public function getPasswordRequestedAt(): ?\DateTimeInterface;
63 96
 
97
+    /**
98
+     * @param \DateTime|null $date
99
+     *
100
+     * @return void
101
+     */
64 102
     public function setPasswordRequestedAt(?\DateTimeInterface $date): void;
65 103
 
66 104
     public function isPasswordRequestNonExpired(\DateInterval $ttl): bool;
67 105
 
68 106
     public function isVerified(): bool;
69 107
 
108
+    /**
109
+     * @return \DateTimeInterface|null
110
+     */
70 111
     public function getVerifiedAt(): ?\DateTimeInterface;
71 112
 
113
+    /**
114
+     * @param \DateTime|null $verifiedAt
115
+     *
116
+     * @return void
117
+     */
72 118
     public function setVerifiedAt(?\DateTimeInterface $verifiedAt): void;
73 119
 
120
+    /**
121
+     * @return \DateTimeInterface|null
122
+     */
74 123
     public function getExpiresAt(): ?\DateTimeInterface;
75 124
 
125
+    /**
126
+     * @return void
127
+     */
76 128
     public function setExpiresAt(?\DateTimeInterface $date): void;
77 129
 
130
+    /**
131
+     * @return \DateTimeInterface|null
132
+     */
78 133
     public function getCredentialsExpireAt(): ?\DateTimeInterface;
79 134
 
135
+    /**
136
+     * @return void
137
+     */
80 138
     public function setCredentialsExpireAt(?\DateTimeInterface $date): void;
81 139
 
140
+    /**
141
+     * @return \DateTimeInterface|null
142
+     */
82 143
     public function getLastLogin(): ?\DateTimeInterface;
83 144
 
145
+    /**
146
+     * @return void
147
+     */
84 148
     public function setLastLogin(?\DateTimeInterface $time): void;
85 149
 
86 150
     /**
@@ -93,8 +157,14 @@  discard block
 block discarded – undo
93 157
      */
94 158
     public function hasRole(string $role): bool;
95 159
 
160
+    /**
161
+     * @return void
162
+     */
96 163
     public function addRole(string $role): void;
97 164
 
165
+    /**
166
+     * @return void
167
+     */
98 168
     public function removeRole(string $role): void;
99 169
 
100 170
     /**
@@ -104,5 +174,8 @@  discard block
 block discarded – undo
104 174
 
105 175
     public function getOAuthAccount(string $provider): ?UserOAuthInterface;
106 176
 
177
+    /**
178
+     * @return void
179
+     */
107 180
     public function addOAuthAccount(UserOAuthInterface $oauth): void;
108 181
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserOAuthInterface.php 1 patch
Doc Comments   +32 added lines patch added patch discarded remove patch
@@ -17,19 +17,51 @@
 block discarded – undo
17 17
 
18 18
 interface UserOAuthInterface extends UserAwareInterface, ResourceInterface
19 19
 {
20
+    /**
21
+     * @return string|null
22
+     */
20 23
     public function getProvider(): ?string;
21 24
 
25
+    /**
26
+     * @param string $provider
27
+     *
28
+     * @return void
29
+     */
22 30
     public function setProvider(?string $provider): void;
23 31
 
32
+    /**
33
+     * @return string|null
34
+     */
24 35
     public function getIdentifier(): ?string;
25 36
 
37
+    /**
38
+     * @param string $identifier
39
+     *
40
+     * @return void
41
+     */
26 42
     public function setIdentifier(?string $identifier): void;
27 43
 
44
+    /**
45
+     * @return string|null
46
+     */
28 47
     public function getAccessToken(): ?string;
29 48
 
49
+    /**
50
+     * @param string $accessToken
51
+     *
52
+     * @return void
53
+     */
30 54
     public function setAccessToken(?string $accessToken): void;
31 55
 
56
+    /**
57
+     * @return string|null
58
+     */
32 59
     public function getRefreshToken(): ?string;
33 60
 
61
+    /**
62
+     * @param null|string $refreshToken
63
+     *
64
+     * @return void
65
+     */
34 66
     public function setRefreshToken(?string $refreshToken): void;
35 67
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,8 +15,14 @@
 block discarded – undo
15 15
 
16 16
 interface FormTypeRegistryInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
19 22
 
23
+    /**
24
+     * @return string|null
25
+     */
20 26
     public function get(string $identifier, string $typeIdentifier): ?string;
21 27
 
22 28
     public function has(string $identifier, string $typeIdentifier): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
         }
43 43
     }
44 44
 
45
+    /**
46
+     * @param ToggleableInterface $value
47
+     */
45 48
     private function ensureValueImplementsToggleableInterface($value): void
46 49
     {
47 50
         if (!($value instanceof ToggleableInterface)) {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Account/LoginPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,9 +19,18 @@
 block discarded – undo
19 19
 {
20 20
     public function hasValidationErrorWith(string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function logIn(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyPassword(string $password): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function specifyUsername(string $username): void;
27 36
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/CreatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,13 +17,28 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyUsername(string $username): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyEmail(string $email): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function specifyPassword(string $password): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function specifyLocale(string $localeCode): void;
29 44
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/UpdatePageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -17,11 +17,23 @@
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function changeUsername(string $username): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function changeEmail(string $email): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function changePassword(string $password): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function changeLocale(string $localeCode): void;
27 39
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/CreatePageInterface.php 1 patch
Doc Comments   +48 added lines patch added patch discarded remove patch
@@ -17,35 +17,83 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function disable(): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function nameIt(string $name): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function specifyCode(string $code): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function describeItAs(string $description): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setHostname(string $hostname): void;
31 49
 
50
+    /**
51
+     * @return void
52
+     */
32 53
     public function setContactEmail(string $contactEmail): void;
33 54
 
55
+    /**
56
+     * @return void
57
+     */
34 58
     public function defineColor(string $color): void;
35 59
 
60
+    /**
61
+     * @return void
62
+     */
36 63
     public function chooseLocale(string $language): void;
37 64
 
65
+    /**
66
+     * @return void
67
+     */
38 68
     public function chooseCurrency(string $currencyCode): void;
39 69
 
70
+    /**
71
+     * @return void
72
+     */
40 73
     public function chooseDefaultTaxZone(string $taxZone): void;
41 74
 
75
+    /**
76
+     * @return void
77
+     */
42 78
     public function chooseDefaultLocale(?string $locale): void;
43 79
 
80
+    /**
81
+     * @return void
82
+     */
44 83
     public function chooseBaseCurrency(?string $currency): void;
45 84
 
85
+    /**
86
+     * @return void
87
+     */
46 88
     public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void;
47 89
 
90
+    /**
91
+     * @return void
92
+     */
48 93
     public function allowToSkipShippingStep(): void;
49 94
 
95
+    /**
96
+     * @return void
97
+     */
50 98
     public function allowToSkipPaymentStep(): void;
51 99
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/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 string
22
+     */
20 23
     public function getUsedThemeName(string $channelCode): ?string;
21 24
 }
Please login to merge, or discard this patch.