mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-12 09:29:47 +01:00
1c11626f0a
Rather than automatically deriving getType() from the class name.
13 lines
206 B
PHP
13 lines
206 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node\Expr\Cast;
|
|
|
|
use PhpParser\Node\Expr\Cast;
|
|
|
|
class String_ extends Cast
|
|
{
|
|
function getType() : string {
|
|
return 'Expr_Cast_String';
|
|
}
|
|
}
|