diff --git a/src/Rules/DoctrineKeyValueStyleRule.php b/src/Rules/DoctrineKeyValueStyleRule.php index 7f8bfff84..3770da7e0 100644 --- a/src/Rules/DoctrineKeyValueStyleRule.php +++ b/src/Rules/DoctrineKeyValueStyleRule.php @@ -171,7 +171,7 @@ public function processNode(Node $callLike, Scope $scope): array continue; } - $acceptedType = $this->columnAcceptsType($argColumn->getType()); + $acceptedType = $this->getColumnAcceptsType($argColumn->getType()); $valueType = $argArray->getValueTypes()[$keyIndex]; if (! $acceptedType->isSuperTypeOf($valueType)->yes()) { @@ -194,7 +194,7 @@ public function processNode(Node $callLike, Scope $scope): array * Converts the column type into the most general type that the column * will accept. */ - private function columnAcceptsType(Type $columnType): Type + private function getColumnAcceptsType(Type $columnType): Type { $checkIntegerRanges = QueryReflection::getRuntimeConfiguration()->isParameterTypeValidationStrict(); if (false === $checkIntegerRanges) {