diff --git a/src/WikiTexVC/Nodes/TexNode.php b/src/WikiTexVC/Nodes/TexNode.php index b1f21f3d4..ed3c9b506 100644 --- a/src/WikiTexVC/Nodes/TexNode.php +++ b/src/WikiTexVC/Nodes/TexNode.php @@ -30,7 +30,7 @@ class TexNode { if ( $parsed ) { return $parsed; } - $name = strtoupper( get_class() ); + $name = strtoupper( self::class ); return BaseMethods::generateMMLError( "Not implemented $name for $input" ); }