@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * Get an array of fields that need to be added to the entity. |
398 | 398 | * |
399 | 399 | * @param BundleInterface $bundle |
400 | - * @param array $reservedFields |
|
400 | + * @param string[] $reservedFields |
|
401 | 401 | * |
402 | 402 | * @return array |
403 | 403 | */ |
@@ -575,7 +575,7 @@ discard block |
||
575 | 575 | * |
576 | 576 | * @param bool $niceNames |
577 | 577 | * |
578 | - * @return array |
|
578 | + * @return string[] |
|
579 | 579 | */ |
580 | 580 | private function getTypes($niceNames = false) |
581 | 581 | { |
@@ -603,7 +603,7 @@ discard block |
||
603 | 603 | /** |
604 | 604 | * Get all available media types. |
605 | 605 | * |
606 | - * @return array |
|
606 | + * @return string[] |
|
607 | 607 | */ |
608 | 608 | private function getMediaTypes() |
609 | 609 | { |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | * |
625 | 625 | * @param BundleInterface $bundle |
626 | 626 | * @param $objectName |
627 | - * @param $prefix |
|
627 | + * @param string $prefix |
|
628 | 628 | * @param $name |
629 | 629 | * @param $type |
630 | 630 | * @param null $extra |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * Returns a list of namespaces as array with a forward slash to split the namespace & bundle. |
148 | 148 | * |
149 | 149 | * @param Kernel $kernel |
150 | - * @return array |
|
150 | + * @return \Symfony\Component\Console\Question\iterable|null |
|
151 | 151 | */ |
152 | 152 | private function getNamespaceAutoComplete(Kernel $kernel) |
153 | 153 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * Replaces '\' with '/'. |
164 | 164 | * |
165 | 165 | * @param $namespace |
166 | - * @return mixed |
|
166 | + * @return string |
|
167 | 167 | */ |
168 | 168 | private function fixNamespace($namespace) |
169 | 169 | { |