We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75a17e commit 7e1bbbcCopy full SHA for 7e1bbbc
1 file changed
packages/validation/tests/ValidatorTest.php
@@ -60,7 +60,7 @@ public function test_validate_passes_with_valid_object(): void
60
61
public function test_validate_value_for_property_sets_field_and_value(): void
62
{
63
- $property = (new ClassReflector(ValidateObjectA::class))->getProperty('title');
+ $property = new ClassReflector(ValidateObjectA::class)->getProperty('title');
64
65
$failingRules = $this->validator->validateValueForProperty($property, 123);
66
0 commit comments