Skip to content

Commit b63041b

Browse files
Merge pull request #97 from oliverklee/bugfix/deprecated
[BUGFIX] Replace usage of a deprecated method
2 parents 5f72c48 + ba7d06c commit b63041b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rule/ValidatorResolverOptionsRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private function extractValidatorOptionsConfiguration(
187187
return ValidatorOptionsConfiguration::empty();
188188
}
189189

190-
$defaultValues = $supportedOptions->getNativeReflection()->getDefaultValueExpr();
190+
$defaultValues = $supportedOptions->getNativeReflection()->getDefaultValueExpression();
191191

192192
if (!$defaultValues instanceof Array_) {
193193
return ValidatorOptionsConfiguration::empty();

0 commit comments

Comments
 (0)