CastFunction::parse()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 0
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php declare(strict_types = 1);
2
3
namespace Portiny\Doctrine\Tests\Source;
4
5
use Doctrine\ORM\Query\AST\Functions\FunctionNode;
6
use Doctrine\ORM\Query\Parser;
7
use Doctrine\ORM\Query\SqlWalker;
8
9
class CastFunction extends FunctionNode
10
{
11
12
	/**
13
	 * {@inheritdoc}
14
	 */
15
	public function getSql(SqlWalker $sqlWalker)
16
	{
17
		return 'CAST()';
18
	}
19
20
21
	public function parse(Parser $parser): void
22
	{
23
	}
24
25
}
26