8000 [ValueExporter] fixed class name's late static bind in AbstractValueE… · symfony/symfony@677c3c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 677c3c2

Browse files
committed
[ValueExporter] fixed class name's late static bind in AbstractValueExporter
1 parent 0e066a1 commit 677c3c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ValueExporter/Exporter/AbstractValueExporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ final public function addFormatters(array $formatters)
8080
$formatterClass = get_class($formatter);
8181

8282
if (!$formatter instanceof $this->formatterInterface) {
83-
throw new InvalidFormatterException($formatterClass, self::class, $this->formatterInterface);
83+
throw new InvalidFormatterException($formatterClass, static::class, $this->formatterInterface);
8484
}
8585

8686
if (in_array(ExpandedFormatterTrait::class, class_uses($formatterClass), true)) {

0 commit comments

Comments
 (0)
0