-<?php
+<?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
class Class_ extends MagicConst
{
- public function getName() {
+ public function getName() : string {
return '__CLASS__';
}
-}
\ No newline at end of file
+
+ public function getType() : string {
+ return 'Scalar_MagicConst_Class';
+ }
+}