Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return $type->withRealTypeSet(UnionType::typeSetFromString(ConditionVisitor::DEFAULTS_FOR_ACCESS_TYPE[$access_type]));
Avoid too many return
statements within this method. Open
Open
return (new AssignmentVisitor(
$this->code_base,
// We clone the original context to avoid affecting the original context for the elseif.
// AssignmentVisitor modifies the provided context in place.
//
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return IntType::instance(false)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return $probably_int_or_float_type;
Avoid too many return
statements within this method. Open
Open
return self::computeTriggerErrorStatusCodeForConstant($node->children['args']->children[1] ?? null);
Avoid too many return
statements within this method. Open
Open
return $unknown_type;
Avoid too many return
statements within this method. Open
Open
return $type->isNullableLabeled() ? MixedType::instance(true) : NonNullMixedType::instance(false);
Avoid too many return
statements within this method. Open
Open
return $type;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return '(' . implode(', ', \array_map('self::toShortString', $node->children)) . ')';
Avoid too many return
statements within this method. Open
Open
return $code_base->getPropertyByFQSEN($fqsen);
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return UnionType::fromFullyQualifiedPHPDocAndRealString('int', 'int|string');
Avoid too many return
statements within this method. Open
Open
return ArrayShapeType::fromFieldTypes($new_field_types, $type->isNullable());