File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public static function notExactEqual($value, $comparable)
64
64
*
65
65
* @return bool
66
66
*/
67
- public static function greater ($ value , $ comparable )
67
+ public static function greaterThan ($ value , $ comparable )
68
68
{
69
69
return $ value > $ comparable ;
70
70
}
@@ -77,7 +77,7 @@ public static function greater($value, $comparable)
77
77
*
78
78
* @return bool
79
79
*/
80
- public static function condLess ($ value , $ comparable )
80
+ public static function lessThan ($ value , $ comparable )
81
81
{
82
82
return $ value < $ comparable ;
83
83
}
@@ -90,7 +90,7 @@ public static function condLess($value, $comparable)
90
90
*
91
91
* @return bool
92
92
*/
93
- public static function greaterEqual ($ value , $ comparable )
93
+ public static function greaterThanOrEqual ($ value , $ comparable )
94
94
{
95
95
return $ value >= $ comparable ;
96
96
}
@@ -103,7 +103,7 @@ public static function greaterEqual($value, $comparable)
103
103
*
104
104
* @return bool
105
105
*/
106
- public static function lessEqual ($ value , $ comparable )
106
+ public static function lessThanOrEqual ($ value , $ comparable )
107
107
{
108
108
return $ value <= $ comparable ;
109
109
}
Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ trait JsonQueriable
53
53
'neq ' => 'notEqual ' ,
54
54
'!== ' => 'strictNotEqual ' ,
55
55
'sneq ' => 'strictNotEqual ' ,
56
- '> ' => 'greater ' ,
57
- 'gt ' => 'greater ' ,
58
- '< ' => 'less ' ,
59
- 'lt ' => 'less ' ,
60
- '>= ' => 'greaterEqual ' ,
61
- 'gte ' => 'greaterEqual ' ,
62
- '<= ' => 'lessEqual ' ,
63
- 'lte ' => 'lessEqual ' ,
56
+ '> ' => 'greaterThan ' ,
57
+ 'gt ' => 'greaterThan ' ,
58
+ '< ' => 'lessThan ' ,
59
+ 'lt ' => 'lessThan ' ,
60
+ '>= ' => 'greaterThanOrEqual ' ,
61
+ 'gte ' => 'greaterThanOrEqual ' ,
62
+ '<= ' => 'lessThanOrEqual ' ,
63
+ 'lte ' => 'lessThanOrEqual ' ,
64
64
'in ' => 'in ' ,
65
65
'notin ' => 'notIn ' ,
66
66
'null ' => 'isNull ' ,
@@ -249,7 +249,7 @@ protected function getData()
249
249
if (empty ($ this ->_node ) || $ this ->_node == '. ' ) {
250
250
return $ this ->_map ;
251
251
}
252
-
252
+
253
253
if ($ this ->_node ) {
254
254
$ terminate = false ;
255
255
$ map = $ this ->_map ;
You can’t perform that action at this time.
0 commit comments