Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return (bool)$this->value;
Avoid too many return
statements within this method. Open
Open
return \reset($type_list)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return parent::canCastToNonNullableType($type);
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return new self($type_list, true, $real_type_set);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $combined_type_shapes;
Avoid too many return
statements within this method. Open
Open
return UnionType::getUniqueTypes($result);
Avoid too many return
statements within this method. Open
Open
return \reset($type_list)->asRealUnionType();
Avoid too many return
statements within this method. Open
Open
return true;
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 parent::canCastToNonNullableTypeHandlingTemplates($type, $code_base);
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return ClosureType::instance($is_nullable);
Avoid too many return
statements within this method. Open
Open
return VoidType::instance(false);
Avoid too many return
statements within this method. Open
Open
return ListType::fromElementType(
MixedType::instance(false),
$is_nullable
);