1 | <?php |
||
24 | class UseRaaOption implements JsonSerializable |
||
25 | { |
||
26 | /** |
||
27 | * @var string[]|null |
||
28 | */ |
||
29 | private $useRaaOption; |
||
30 | |||
31 | /** |
||
32 | * UseRaaOption constructor. |
||
33 | * @param string[]|null $useRaaOption |
||
34 | */ |
||
35 | public function __construct($useRaaOption) |
||
46 | |||
47 | public static function getDefault() |
||
51 | |||
52 | /** |
||
53 | * If array, returns the array sorted |
||
54 | * @return null|string[] |
||
|
|||
55 | */ |
||
56 | public function getUseRaaOption() |
||
63 | |||
64 | public function equals(UseRaaOption $other) |
||
68 | |||
69 | public function jsonSerialize() |
||
73 | } |
||
74 |
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.