@@ -91,8 +91,6 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * get the list of extra types that are valid for this specific object |
| 93 | 93 | * |
| 94 | - * @param object $object |
|
| 95 | - * the object to examine |
|
| 96 | 94 | * @return string[] |
| 97 | 95 | * a (possibly empty) list of types for this object |
| 98 | 96 | */ |
@@ -104,8 +102,6 @@ discard block |
||
| 104 | 102 | /** |
| 105 | 103 | * what PHP type is $data? |
| 106 | 104 | * |
| 107 | - * @param mixed $data |
|
| 108 | - * the data to examine |
|
| 109 | 105 | * @param int $flags |
| 110 | 106 | * options to change what we put in the return value |
| 111 | 107 | * @return string |
@@ -121,7 +117,7 @@ discard block |
||
| 121 | 117 | * |
| 122 | 118 | * @param mixed $item |
| 123 | 119 | * the item to examine |
| 124 | - * @return array |
|
| 120 | + * @return string[] |
|
| 125 | 121 | * the list of type(s) that this item can be |
| 126 | 122 | */ |
| 127 | 123 | function get_strict_types($item) |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * |
| 60 | 60 | * @param mixed $item |
| 61 | 61 | * the item to examine |
| 62 | - * @return array |
|
| 62 | + * @return string[] |
|
| 63 | 63 | * the list of type(s) that this item can be |
| 64 | 64 | */ |
| 65 | 65 | public function __invoke($item) |