Skip to content

Commit

Permalink
Add Phpdoc to Degrees
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Mar 1, 2024
1 parent dad2c32 commit 1850a12
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Query/Mysql/Degrees.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
use Doctrine\ORM\Query\TokenType;

/**
* "DEGREES" "(" SimpleArithmeticExpression ")"
* DegreesFunction ::= "DEGREES" "(" SimpleArithmeticExpression ")"
*
* @link https://dev.mysql.com/doc/refman/en/mathematical-functions.html#function_degrees
*
* @example SELECT DEGREES(PI())
* @example SELECT DEGREES(PI() / 4)
* @example SELECT DEGREES(foo.bar) FROM entity
*/
class Degrees extends FunctionNode
{
Expand Down

0 comments on commit 1850a12

Please sign in to comment.