@@ -19,6 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * {@inheritdoc} |
22 | + * @param string $path |
|
22 | 23 | */ |
23 | 24 | public function get($path, $default = null) |
24 | 25 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
157 | - * @param $name |
|
157 | + * @param string $name |
|
158 | 158 | * |
159 | 159 | * @return string |
160 | 160 | */ |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | /** |
169 | 169 | * @param string $name |
170 | 170 | * |
171 | - * @return mixed|string|null |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | public function getRedirectRoute($name) |
174 | 174 | { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | } |
229 | 229 | |
230 | 230 | /** |
231 | - * @param object|null $resource |
|
231 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
232 | 232 | * |
233 | 233 | * @return array |
234 | 234 | */ |
@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * Checks the existence of files or directories. |
49 | 49 | * |
50 | - * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to check |
|
50 | + * @param string $files A filename, an array of files, or a \Traversable instance to check |
|
51 | 51 | * |
52 | 52 | * @return bool true if the file exists, false otherwise |
53 | 53 | */ |
@@ -23,6 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * @param mixed $expression |
25 | 25 | * @param string $condition |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function restrict($expression, string $condition = self::CONDITION_AND): void; |
28 | 29 |
@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @throws ExistingServiceException |
28 | 28 | * @throws \InvalidArgumentException |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function register($service, int $priority = 0): void; |
31 | 32 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | * @param object $service |
34 | 35 | * |
35 | 36 | * @throws NonExistingServiceException |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function unregister($service): void; |
38 | 40 |
@@ -31,11 +31,13 @@ |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @param ResourceInterface $resource |
34 | + * @return void |
|
34 | 35 | */ |
35 | 36 | public function add(ResourceInterface $resource): void; |
36 | 37 | |
37 | 38 | /** |
38 | 39 | * @param ResourceInterface $resource |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function remove(ResourceInterface $resource): void; |
41 | 43 | } |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface CanonicalizerInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return string |
|
20 | + */ |
|
18 | 21 | public function canonicalize(?string $string): ?string; |
19 | 22 | } |
@@ -428,6 +428,7 @@ discard block |
||
428 | 428 | |
429 | 429 | /** |
430 | 430 | * {@inheritdoc} |
431 | + * @param string $name |
|
431 | 432 | */ |
432 | 433 | protected function getElement($name, array $parameters = []) |
433 | 434 | { |
@@ -507,7 +508,7 @@ discard block |
||
507 | 508 | /** |
508 | 509 | * @param string $type |
509 | 510 | * |
510 | - * @return NodeElement |
|
511 | + * @return string |
|
511 | 512 | */ |
512 | 513 | private function getImageElementByType($type) |
513 | 514 | { |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @throws NotificationExpectationMismatchException |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function checkNotification(string $message, NotificationType $type): void; |
25 | 26 | } |