mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-12 01:19:47 +01:00
1c11626f0a
Rather than automatically deriving getType() from the class name.
16 lines
295 B
PHP
16 lines
295 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node\Expr\BinaryOp;
|
|
|
|
use PhpParser\Node\Expr\BinaryOp;
|
|
|
|
class Mod extends BinaryOp
|
|
{
|
|
public function getOperatorSigil() : string {
|
|
return '%';
|
|
}
|
|
|
|
function getType() : string {
|
|
return 'Expr_BinaryOp_Mod';
|
|
}
|
|
} |