From 1850a127a508b717110d01baf4853337b87e9750 Mon Sep 17 00:00:00 2001 From: Karoly Gossler Date: Fri, 1 Mar 2024 12:37:19 +0100 Subject: [PATCH] Add Phpdoc to Degrees --- src/Query/Mysql/Degrees.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Query/Mysql/Degrees.php b/src/Query/Mysql/Degrees.php index bdb844c4..10e9ff54 100644 --- a/src/Query/Mysql/Degrees.php +++ b/src/Query/Mysql/Degrees.php @@ -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 {