Skip to content

Commit c209864

Browse files
committed
Merge branch '5.0'
* 5.0: Fix CS Fix CS Fix CS
2 parents d123b7c + 0194ab7 commit c209864

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AbstractType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function configureOptions(OptionsResolver $resolver)
5252
*/
5353
public function getBlockPrefix()
5454
{
55-
return StringUtil::fqcnToBlockPrefix(\get_class($this)) ?: '';
55+
return StringUtil::fqcnToBlockPrefix(static::class) ?: '';
5656
}
5757

5858
/**

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)