Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return parent::canCastToNonNullableTypeWithoutConfig($type);
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 $this->genericArrayElementUnionType()->canCastToUnionType($type->genericArrayElementUnionType());
Avoid too many return
statements within this method. Open
Open
return $this->canCastToGenericIterableType($type);
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 null;
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 false;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return $type->getValue() == $this->getValue();
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
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 $type instanceof CallableType || $type instanceof MixedType || $type instanceof TemplateType;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $this->key_type !== self::KEY_STRING;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return parent::canCastToNonNullableType($type);