Skip to content

Commit

Permalink
Merge pull request #1488 from guillaume-sainthillier/self-constant
Browse files Browse the repository at this point in the history
use self to access constant in final classes
  • Loading branch information
garak authored Jan 20, 2025
2 parents 79fd69a + ba98450 commit 6c49525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Form/Type/VichFileTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testEmptyDownloadLinkDoNotThrowsDeprecation(): void
$propertyMappingFactory = $this->getPropertyMappingFactoryMock();
$propertyAccessor = $this->createMock(PropertyAccessor::class);

$testedType = static::TESTED_TYPE;
$testedType = self::TESTED_TYPE;

$type = new $testedType($storage, $uploadHandler, $propertyMappingFactory, $propertyAccessor);

Expand Down

0 comments on commit 6c49525

Please sign in to comment.