Remove Some Trailing Comma

This commit is contained in:
Christopher Davis 2021-11-06 07:37:42 -05:00
parent 477442588a
commit 10d6d57ca7

View File

@ -488,7 +488,7 @@ class SymfonyConstraintAnnotationReaderTest extends TestCase
$reader->updateProperty( $reader->updateProperty(
new \ReflectionProperty($entity, 'property1'), new \ReflectionProperty($entity, 'property1'),
$schema->properties[0], $schema->properties[0],
['other'], ['other']
); );
$this->assertSame(OA\UNDEFINED, $schema->required, 'should not have read constraint in default group'); $this->assertSame(OA\UNDEFINED, $schema->required, 'should not have read constraint in default group');
@ -512,7 +512,7 @@ class SymfonyConstraintAnnotationReaderTest extends TestCase
$reader->updateProperty( $reader->updateProperty(
new \ReflectionProperty($entity, 'property1'), new \ReflectionProperty($entity, 'property1'),
$schema->properties[0], $schema->properties[0],
['other', Constraint::DEFAULT_GROUP], ['other', Constraint::DEFAULT_GROUP]
); );
$this->assertSame(['property1'], $schema->required, 'should have read constraint in default group'); $this->assertSame(['property1'], $schema->required, 'should have read constraint in default group');