@@ -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) |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * @param int $filter |
58 | 58 | * the kind of properties to look for |
59 | 59 | * default is to look for public properties only |
60 | - * @return array |
|
60 | + * @return boolean |
|
61 | 61 | * a (possibly empty) read-only list of the object's |
62 | 62 | * non-static properties |
63 | 63 | * @throws InvalidArgumentException |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * @param int $filter |
58 | 58 | * the kind of properties to look for |
59 | 59 | * default is to look for public properties only |
60 | - * @return array |
|
60 | + * @return boolean |
|
61 | 61 | * a (possibly empty) read-only list of the object's |
62 | 62 | * non-static properties |
63 | 63 | * @throws InvalidArgumentException |
@@ -90,8 +90,6 @@ |
||
90 | 90 | /** |
91 | 91 | * is $item something that PHP will accept as a string? |
92 | 92 | * |
93 | - * @param mixed $item |
|
94 | - * the variable to examine |
|
95 | 93 | * @return boolean |
96 | 94 | * TRUE if PHP will happily use $item as a string |
97 | 95 | * FALSE otherwise |