@@ -39,12 +39,14 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param MetadataInterface $metadata |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function add(MetadataInterface $metadata); |
44 | 45 | |
45 | 46 | /** |
46 | 47 | * @param string $alias |
47 | 48 | * @param array $configuration |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function addFromAliasAndConfiguration($alias, array $configuration); |
50 | 52 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Metadata; |
15 | 15 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param string $code |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setCode($code); |
28 | 29 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Model; |
15 | 15 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param string $slug |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setSlug($slug = null); |
28 | 29 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Model; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Model; |
15 | 15 |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param null|TranslatableInterface $translatable |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setTranslatable(TranslatableInterface $translatable = null); |
28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param string $locale |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function setLocale($locale); |
38 | 40 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Model; |
15 | 15 |
@@ -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 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Repository; |
15 | 15 |
@@ -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 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Resource\Repository; |
15 | 15 |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param string $email |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setEmail($email); |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param string $firstName |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setFirstName($firstName); |
40 | 42 | |
@@ -45,6 +47,7 @@ discard block |
||
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param string $lastName |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function setLastName($lastName); |
50 | 53 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Review\Model; |
15 | 15 |
@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param string $title |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setTitle($title); |
31 | 32 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | |
37 | 38 | /** |
38 | 39 | * @param int $rating |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function setRating($rating); |
41 | 43 | |
@@ -46,6 +48,7 @@ discard block |
||
46 | 48 | |
47 | 49 | /** |
48 | 50 | * @param string $comment |
51 | + * @return void |
|
49 | 52 | */ |
50 | 53 | public function setComment($comment); |
51 | 54 | |
@@ -56,6 +59,7 @@ discard block |
||
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param ReviewerInterface $author |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function setAuthor(ReviewerInterface $author = null); |
61 | 65 | |
@@ -66,6 +70,7 @@ discard block |
||
66 | 70 | |
67 | 71 | /** |
68 | 72 | * @param string $status |
73 | + * @return void |
|
69 | 74 | */ |
70 | 75 | public function setStatus($status); |
71 | 76 | |
@@ -81,6 +86,7 @@ discard block |
||
81 | 86 | |
82 | 87 | /** |
83 | 88 | * @param ReviewableInterface $reviewSubject |
89 | + * @return void |
|
84 | 90 | */ |
85 | 91 | public function setReviewSubject(ReviewableInterface $reviewSubject); |
86 | 92 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Review\Model; |
15 | 15 |