@@ -28,6 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param string $name |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function setName($name); |
33 | 34 | |
@@ -38,6 +39,7 @@ discard block |
||
38 | 39 | |
39 | 40 | /** |
40 | 41 | * @param string $description |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function setDescription($description); |
43 | 45 | |
@@ -48,6 +50,7 @@ discard block |
||
48 | 50 | |
49 | 51 | /** |
50 | 52 | * @param int $priority |
53 | + * @return void |
|
51 | 54 | */ |
52 | 55 | public function setPriority($priority); |
53 | 56 | |
@@ -58,6 +61,7 @@ discard block |
||
58 | 61 | |
59 | 62 | /** |
60 | 63 | * @param bool $exclusive |
64 | + * @return void |
|
61 | 65 | */ |
62 | 66 | public function setExclusive($exclusive); |
63 | 67 | |
@@ -68,6 +72,7 @@ discard block |
||
68 | 72 | |
69 | 73 | /** |
70 | 74 | * @param int $usageLimit |
75 | + * @return void |
|
71 | 76 | */ |
72 | 77 | public function setUsageLimit($usageLimit); |
73 | 78 | |
@@ -78,9 +83,13 @@ discard block |
||
78 | 83 | |
79 | 84 | /** |
80 | 85 | * @param int $used |
86 | + * @return void |
|
81 | 87 | */ |
82 | 88 | public function setUsed($used); |
83 | 89 | |
90 | + /** |
|
91 | + * @return void |
|
92 | + */ |
|
84 | 93 | public function incrementUsed(); |
85 | 94 | |
86 | 95 | /** |
@@ -90,6 +99,7 @@ discard block |
||
90 | 99 | |
91 | 100 | /** |
92 | 101 | * @param \DateTime $startsAt |
102 | + * @return void |
|
93 | 103 | */ |
94 | 104 | public function setStartsAt(\DateTime $startsAt = null); |
95 | 105 | |
@@ -100,6 +110,7 @@ discard block |
||
100 | 110 | |
101 | 111 | /** |
102 | 112 | * @param \DateTime $endsAt |
113 | + * @return void |
|
103 | 114 | */ |
104 | 115 | public function setEndsAt(\DateTime $endsAt = null); |
105 | 116 | |
@@ -110,6 +121,7 @@ discard block |
||
110 | 121 | |
111 | 122 | /** |
112 | 123 | * @param bool $couponBased |
124 | + * @return void |
|
113 | 125 | */ |
114 | 126 | public function setCouponBased($couponBased); |
115 | 127 | |
@@ -132,11 +144,13 @@ discard block |
||
132 | 144 | |
133 | 145 | /** |
134 | 146 | * @param CouponInterface $coupon |
147 | + * @return void |
|
135 | 148 | */ |
136 | 149 | public function addCoupon(CouponInterface $coupon); |
137 | 150 | |
138 | 151 | /** |
139 | 152 | * @param CouponInterface $coupon |
153 | + * @return void |
|
140 | 154 | */ |
141 | 155 | public function removeCoupon(CouponInterface $coupon); |
142 | 156 | |
@@ -159,11 +173,13 @@ discard block |
||
159 | 173 | |
160 | 174 | /** |
161 | 175 | * @param RuleInterface $rule |
176 | + * @return void |
|
162 | 177 | */ |
163 | 178 | public function addRule(RuleInterface $rule); |
164 | 179 | |
165 | 180 | /** |
166 | 181 | * @param RuleInterface $rule |
182 | + * @return void |
|
167 | 183 | */ |
168 | 184 | public function removeRule(RuleInterface $rule); |
169 | 185 | |
@@ -186,11 +202,13 @@ discard block |
||
186 | 202 | |
187 | 203 | /** |
188 | 204 | * @param ActionInterface $action |
205 | + * @return void |
|
189 | 206 | */ |
190 | 207 | public function addAction(ActionInterface $action); |
191 | 208 | |
192 | 209 | /** |
193 | 210 | * @param ActionInterface $action |
211 | + * @return void |
|
194 | 212 | */ |
195 | 213 | public function removeAction(ActionInterface $action); |
196 | 214 | } |
@@ -30,6 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @param string $name |
33 | + * @return void |
|
33 | 34 | */ |
34 | 35 | public function setName($name); |
35 | 36 | |
@@ -40,6 +41,7 @@ discard block |
||
40 | 41 | |
41 | 42 | /** |
42 | 43 | * @param string $description |
44 | + * @return void |
|
43 | 45 | */ |
44 | 46 | public function setDescription($description); |
45 | 47 | |
@@ -50,11 +52,13 @@ discard block |
||
50 | 52 | |
51 | 53 | /** |
52 | 54 | * @param PermissionInterface $permission |
55 | + * @return void |
|
53 | 56 | */ |
54 | 57 | public function addPermission(PermissionInterface $permission); |
55 | 58 | |
56 | 59 | /** |
57 | 60 | * @param PermissionInterface $permission |
61 | + * @return void |
|
58 | 62 | */ |
59 | 63 | public function removePermission(PermissionInterface $permission); |
60 | 64 | |
@@ -72,6 +76,7 @@ discard block |
||
72 | 76 | |
73 | 77 | /** |
74 | 78 | * @param RoleInterface $role |
79 | + * @return void |
|
75 | 80 | */ |
76 | 81 | public function setParent(RoleInterface $role); |
77 | 82 | |
@@ -87,11 +92,13 @@ discard block |
||
87 | 92 | |
88 | 93 | /** |
89 | 94 | * @param RoleInterface $role |
95 | + * @return void |
|
90 | 96 | */ |
91 | 97 | public function addChild(RoleInterface $role); |
92 | 98 | |
93 | 99 | /** |
94 | 100 | * @param RoleInterface $role |
101 | + * @return void |
|
95 | 102 | */ |
96 | 103 | public function removeChild(RoleInterface $role); |
97 | 104 | |
@@ -109,6 +116,7 @@ discard block |
||
109 | 116 | |
110 | 117 | /** |
111 | 118 | * @param int $left |
119 | + * @return void |
|
112 | 120 | */ |
113 | 121 | public function setLeft($left); |
114 | 122 | |
@@ -119,6 +127,7 @@ discard block |
||
119 | 127 | |
120 | 128 | /** |
121 | 129 | * @param int $right |
130 | + * @return void |
|
122 | 131 | */ |
123 | 132 | public function setRight($right); |
124 | 133 | |
@@ -129,6 +138,7 @@ discard block |
||
129 | 138 | |
130 | 139 | /** |
131 | 140 | * @param int $level |
141 | + * @return void |
|
132 | 142 | */ |
133 | 143 | public function setLevel($level); |
134 | 144 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | /** |
39 | 39 | * Get flash message. |
40 | 40 | * |
41 | - * @return null|string |
|
41 | + * @return string |
|
42 | 42 | */ |
43 | 43 | public function getMessage() |
44 | 44 | { |
@@ -142,6 +142,7 @@ discard block |
||
142 | 142 | |
143 | 143 | /** |
144 | 144 | * {@inheritdoc} |
145 | + * @param string $name |
|
145 | 146 | */ |
146 | 147 | public function hasParameter($name) |
147 | 148 | { |
@@ -162,6 +163,7 @@ discard block |
||
162 | 163 | |
163 | 164 | /** |
164 | 165 | * {@inheritdoc} |
166 | + * @param string $name |
|
165 | 167 | */ |
166 | 168 | public function hasClass($name) |
167 | 169 | { |
@@ -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 | } |
@@ -86,6 +86,7 @@ discard block |
||
86 | 86 | |
87 | 87 | /** |
88 | 88 | * {@inheritdoc} |
89 | + * @param string $currentLocale |
|
89 | 90 | */ |
90 | 91 | public function setCurrentLocale($currentLocale) |
91 | 92 | { |
@@ -102,6 +103,7 @@ discard block |
||
102 | 103 | |
103 | 104 | /** |
104 | 105 | * {@inheritdoc} |
106 | + * @param string $fallbackLocale |
|
105 | 107 | */ |
106 | 108 | public function setFallbackLocale($fallbackLocale) |
107 | 109 | { |
@@ -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 | } |