@@ -240,7 +240,7 @@ |
||
240 | 240 | /** |
241 | 241 | * @param string $type |
242 | 242 | * |
243 | - * @return NodeElement |
|
243 | + * @return string |
|
244 | 244 | */ |
245 | 245 | private function getImageElementByType($type) |
246 | 246 | { |
@@ -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 | { |
@@ -299,7 +299,7 @@ |
||
299 | 299 | |
300 | 300 | /** |
301 | 301 | * @param string $attributeName |
302 | - * @param string|array $selector |
|
302 | + * @param string $selector |
|
303 | 303 | * |
304 | 304 | * @return bool |
305 | 305 | * |
@@ -143,7 +143,7 @@ |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | - * @param ObjectManager $objectManager |
|
146 | + * @param ObjectManager|null $objectManager |
|
147 | 147 | * @param object $entity |
148 | 148 | * @param string $enabledPropertyPath |
149 | 149 | * |
@@ -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 | { |
@@ -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 | } |