Showing 3,272 of 4,939 total issues
Avoid too many return
statements within this method. Open
Open
return [ArrayType::instance($type->isNullable())];
Avoid too many return
statements within this method. Open
Open
return $context;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return $exception_class->isInterface();
Avoid too many return
statements within this method. Open
Open
return !$type->containsTruthy();
Avoid too many return
statements within this method. Open
Open
return \get_class($type) === IntType::class;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $this->context;
Avoid too many return
statements within this method. Open
Open
return false;
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 false;
Avoid too many return
statements within this method. Open
Open
return $this->updateVariableWithConditionalFilter(
$var_node,
$context,
static function (UnionType $union_type) use ($cb): bool {
return $union_type->hasPhpdocOrRealTypeMatchingCallback($cb);
Avoid too many return
statements within this method. Open
Open
return $this->removeTrueFromVariable($var_node, $context);
Avoid too many return
statements within this method. Open
Open
return $probably_unknown_type;
Avoid too many return
statements within this method. Open
Open
return $this->context;
Avoid too many return
statements within this method. Open
Open
return $nullable_issue_type;
Avoid too many return
statements within this method. Open
Open
return;
Avoid too many return
statements within this method. Open
Open
return $this->analyzeAndUpdateToBeNotIdentical($node->children['left'], $node->children['right']);