Skip to content

Commit 077fef9

Browse files
committed
Fix CS
1 parent 3d4a6c8 commit 077fef9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AbstractTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getExtendedType()
5858
throw new LogicException(sprintf('You need to implement the static getExtendedTypes() method when implementing the %s in %s.', FormTypeExtensionInterface::class, static::class));
5959
}
6060

61-
@trigger_error(sprintf('The %s::getExtendedType() method is deprecated since Symfony 4.2 and will be removed in 5.0. Use getExtendedTypes() instead.', \get_class($this)), E_USER_DEPRECATED);
61+
@trigger_error(sprintf('The %s::getExtendedType() method is deprecated since Symfony 4.2 and will be removed in 5.0. Use getExtendedTypes() instead.', static::class), E_USER_DEPRECATED);
6262

6363
foreach (static::getExtendedTypes() as $extendedType) {
6464
return $extendedType;

Tests/AbstractLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ abstract protected function renderLabel(FormView $view, $label = null, array $va
120120

121121
protected function renderHelp(FormView $view)
122122
{
123-
$this->markTestSkipped(sprintf('%s::renderHelp() is not implemented.', \get_class($this)));
123+
$this->markTestSkipped(sprintf('%s::renderHelp() is not implemented.', static::class));
124124
}
125125

126126
abstract protected function renderErrors(FormView $view);

0 commit comments

Comments
 (0)