private static analyzeNodeUnionTypeCast ( ast\Node | null | string | integer $node, |
||
$node | ast\Node | null | string | integer | A node or whatever php-ast feels like returning |
$context | ||
$code_base | ||
$cast_type | ||
$issue_instance | Closure | |
Результат | boolean | True if the cast is possible, else false |