Open rentalhost opened 7 years ago
Additional analysis (should check if all is applicable):
array
object
callable
iterable
resource
void
return;
return
return; return $unreacheable;
throw
int[]
[1, 2, 3]
mixed[]
[1, 'a', true]
bool
return $a === $b
int
return $a + $b
string
return $a . $b
Additional analysis (should check if all is applicable):
array
, ~object
~,callable
(anditerable
?);resource
;callable
;void
;return;
;return
statement;return
statements;return
(eg.return; return $unreacheable;
);throw
;int[]
from one type array (eg.[1, 2, 3]
);mixed[]
from mixed type array (eg.[1, 'a', true]
);bool
(eg.return $a === $b
);int
(eg.return $a + $b
);string
(eg.return $a . $b
);