1 | <?php |
||
14 | class Xml extends VOString implements VOArrayable |
||
15 | { |
||
16 | use StringMixin; |
||
17 | |||
18 | /** |
||
19 | * @return array |
||
20 | */ |
||
21 | 1 | public function toArray() |
|
25 | |||
26 | /** |
||
27 | * @param array $array |
||
28 | * @throws \InvalidArgumentException |
||
29 | * @return string |
||
|
|||
30 | */ |
||
31 | 1 | public static function fromArray(array $array) |
|
39 | } |
||
40 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.