We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a40c7f2 + bee5b4f commit 88af002Copy full SHA for 88af002
src/Enum/Relation.php
@@ -7,18 +7,18 @@
7
*
8
* Use this in AddRelation method.
9
*/
10
-enum Relation
+enum Relation: string
11
{
12
- case EQUAL;
13
- case LESS_THAN;
14
- case GREATER_THAN;
15
- case LESS_OR_EQUAL_THAN;
16
- case GREATER_OR_EQUAL_THAN;
17
- case NOT_EQUAL;
18
- case STARTS_WITH;
19
- case CONTAINS;
20
- case IN;
21
- case NOT_IN;
22
- case IS_NULL;
23
- case IS_NOT_NULL;
+ case EQUAL = '=';
+ case LESS_THAN = '<';
+ case GREATER_THAN = '>';
+ case LESS_OR_EQUAL_THAN = '<=';
+ case GREATER_OR_EQUAL_THAN = '>=';
+ case NOT_EQUAL = '<>';
+ case STARTS_WITH = 'STARTS WITH';
+ case CONTAINS = 'CONTAINS';
+ case IN = 'IN';
+ case NOT_IN = 'NOT IN';
+ case IS_NULL = 'IS NULL';
+ case IS_NOT_NULL = 'IS NOT NULL';
24
}
0 commit comments