@@ -23,10 +23,17 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param bool $enabled |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setEnabled($enabled); |
28 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
29 | 33 | public function enable(); |
30 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
31 | 38 | public function disable(); |
32 | 39 | } |
@@ -36,11 +36,13 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param string $locale |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function setCurrentLocale($locale); |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param string $locale |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setFallbackLocale($locale); |
46 | 48 | |
@@ -51,11 +53,13 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param TranslationInterface $translation |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function addTranslation(TranslationInterface $translation); |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param TranslationInterface $translation |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function removeTranslation(TranslationInterface $translation); |
61 | 65 | } |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * @param ResourceInterface[] $resources |
185 | 185 | * @param array $criteria |
186 | 186 | * |
187 | - * @return ResourceInterface[]|array |
|
187 | + * @return ResourceInterface[] |
|
188 | 188 | */ |
189 | 189 | private function applyCriteria(array $resources, array $criteria) |
190 | 190 | { |
@@ -27,17 +27,19 @@ |
||
27 | 27 | * @param array $criteria |
28 | 28 | * @param array $sorting |
29 | 29 | * |
30 | - * @return mixed |
|
30 | + * @return \Pagerfanta\Pagerfanta |
|
31 | 31 | */ |
32 | 32 | public function createPaginator(array $criteria = [], array $sorting = []); |
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param ResourceInterface $resource |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function add(ResourceInterface $resource); |
38 | 39 | |
39 | 40 | /** |
40 | 41 | * @param ResourceInterface $resource |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function remove(ResourceInterface $resource); |
43 | 45 | } |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
20 | 20 | |
21 | 21 | /** |
@@ -16,5 +16,10 @@ |
||
16 | 16 | */ |
17 | 17 | interface CanonicalizerInterface |
18 | 18 | { |
19 | + /** |
|
20 | + * @param string $string |
|
21 | + * |
|
22 | + * @return string |
|
23 | + */ |
|
19 | 24 | public function canonicalize($string); |
20 | 25 | } |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param string $email |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setEmail($email); |
44 | 45 | |
@@ -51,6 +52,7 @@ discard block |
||
51 | 52 | |
52 | 53 | /** |
53 | 54 | * @param string $emailCanonical |
55 | + * @return void |
|
54 | 56 | */ |
55 | 57 | public function setEmailCanonical($emailCanonical); |
56 | 58 | |
@@ -61,11 +63,13 @@ discard block |
||
61 | 63 | |
62 | 64 | /** |
63 | 65 | * @param CustomerInterface $customer |
66 | + * @return void |
|
64 | 67 | */ |
65 | 68 | public function setCustomer(CustomerInterface $customer = null); |
66 | 69 | |
67 | 70 | /** |
68 | 71 | * @param string $username |
72 | + * @return void |
|
69 | 73 | */ |
70 | 74 | public function setUsername($username); |
71 | 75 | |
@@ -78,11 +82,13 @@ discard block |
||
78 | 82 | |
79 | 83 | /** |
80 | 84 | * @param string $usernameCanonical |
85 | + * @return void |
|
81 | 86 | */ |
82 | 87 | public function setUsernameCanonical($usernameCanonical); |
83 | 88 | |
84 | 89 | /** |
85 | 90 | * @param bool $locked |
91 | + * @return void |
|
86 | 92 | */ |
87 | 93 | public function setLocked($locked); |
88 | 94 | |
@@ -93,6 +99,7 @@ discard block |
||
93 | 99 | |
94 | 100 | /** |
95 | 101 | * @param string $confirmationToken |
102 | + * @return void |
|
96 | 103 | */ |
97 | 104 | public function setConfirmationToken($confirmationToken); |
98 | 105 | |
@@ -100,6 +107,7 @@ discard block |
||
100 | 107 | * Sets the timestamp that the user requested a password reset. |
101 | 108 | * |
102 | 109 | * @param null|\DateTime $date |
110 | + * @return void |
|
103 | 111 | */ |
104 | 112 | public function setPasswordRequestedAt(\DateTime $date = null); |
105 | 113 | |
@@ -114,6 +122,7 @@ discard block |
||
114 | 122 | |
115 | 123 | /** |
116 | 124 | * @param \DateTime $date |
125 | + * @return void |
|
117 | 126 | */ |
118 | 127 | public function setCredentialsExpireAt(\DateTime $date = null); |
119 | 128 | |
@@ -124,6 +133,7 @@ discard block |
||
124 | 133 | |
125 | 134 | /** |
126 | 135 | * @param \DateTime $time |
136 | + * @return void |
|
127 | 137 | */ |
128 | 138 | public function setLastLogin(\DateTime $time = null); |
129 | 139 | |
@@ -145,16 +155,19 @@ discard block |
||
145 | 155 | * This overwrites any previous roles. |
146 | 156 | * |
147 | 157 | * @param array $roles |
158 | + * @return void |
|
148 | 159 | */ |
149 | 160 | public function setRoles(array $roles); |
150 | 161 | |
151 | 162 | /** |
152 | 163 | * @param string $role |
164 | + * @return void |
|
153 | 165 | */ |
154 | 166 | public function addRole($role); |
155 | 167 | |
156 | 168 | /** |
157 | 169 | * @param string $role |
170 | + * @return void |
|
158 | 171 | */ |
159 | 172 | public function removeRole($role); |
160 | 173 | |
@@ -178,6 +191,7 @@ discard block |
||
178 | 191 | * Connects OAuth account. |
179 | 192 | * |
180 | 193 | * @param UserOAuthInterface $oauth |
194 | + * @return void |
|
181 | 195 | */ |
182 | 196 | public function addOAuthAccount(UserOAuthInterface $oauth); |
183 | 197 | } |
@@ -18,5 +18,8 @@ |
||
18 | 18 | */ |
19 | 19 | interface PasswordUpdaterInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function updatePassword(CredentialsHolderInterface $user); |
22 | 25 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | For the full copyright and license information, please view the LICENSE |
20 | 20 | file that was distributed with this source code. |
21 | -EOF; |
|
21 | +eof; |
|
22 | 22 | |
23 | 23 | HeaderCommentFixer::setHeader($header); |
24 | 24 |