mirror of
https://github.com/symfony/form.git
synced 2026-03-24 00:02:23 +01:00
[Form] fix deprecation notice in ValidatorExtensionTest::testPropertiesInitializedWithEarlyReturn test
This commit is contained in:
committed by
Nicolas Grekas
parent
9694bdb91d
commit
54fc774a83
@@ -78,7 +78,7 @@ class ValidatorExtensionTest extends TestCase
|
||||
->getValidator();
|
||||
|
||||
// create with an early return condition
|
||||
$extension = new ValidatorExtension($validator, false);
|
||||
$extension = new ValidatorExtension($validator);
|
||||
|
||||
// verify the extension is functional after an early return
|
||||
$this->assertInstanceOf(ValidatorTypeGuesser::class, $extension->loadTypeGuesser());
|
||||
|
||||
Reference in New Issue
Block a user