Showing 4,939 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return UnionType::of($new_type_set, $old_type->getRealTypeSet());
Avoid too many return
statements within this method. Open
Open
return $this->analyzeAndUpdateToBeCompared($node->children['left'], $node->children['right'], flags\BINARY_IS_SMALLER_OR_EQUAL);
Avoid too many return
statements within this method. Open
Open
return $this($left);
Avoid too many return
statements within this method. Open
Open
return $null_type_set ?? ($null_type_set = UnionType::typeSetFromString('null'));
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return $type;
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return $this->removeLiteralScalarFromVariable($var_node, $context, $expr, true);
Avoid too many return
statements within this method. Open
Open
return $condition->analyzeComplexCondition($this, $tmp, $expr_node);
Avoid too many return
statements within this method. Open
Open
return $context->withScopeVariable(
$variable
);
Avoid too many return
statements within this method. Open
Open
return FloatType::instance(false)->asPHPDocUnionType();
Avoid too many return
statements within this method. Open
Open
return $int_or_float ?? ($int_or_float = UnionType::fromFullyQualifiedPHPDocString('int|float'));
Avoid too many return
statements within this method. Open
Open
return $make_literal_union_type(
LiteralIntType::instanceForValue($value, false),
$real_int
);
Avoid too many return
statements within this method. Open
Open
return (new BlockAnalysisVisitor($code_base, clone($context)))->__invoke(
$definition_node
);
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return [$type];
Avoid too many return
statements within this method. Open
Open
return [$type->withIsNullable(false)];
Avoid too many return
statements within this method. Open
Open
return $make_literal_union_type(
is_int($value) ? LiteralIntType::instanceForValue($value, false)
: LiteralFloatType::instanceForValue($value, false),
$real_int_or_float
);