Skip to content

Commit

Permalink
Add Phpdoc to Date
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Mar 1, 2024
1 parent 1840de1 commit 6db19cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Query/Postgresql/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
namespace DoctrineExtensions\Query\Postgresql;

use Doctrine\ORM\Query\AST\Functions\FunctionNode;
use Doctrine\ORM\Query\AST\Node;
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;
use Doctrine\ORM\Query\TokenType;

/**
* DateFunction ::= "DATE" "(" ArithmeticPrimary ")"
*/
class Date extends FunctionNode
{
/** @var Node|string */
public $date;

public function getSql(SqlWalker $sqlWalker): string
Expand Down

0 comments on commit 6db19cb

Please sign in to comment.