@@ -42,7 +42,7 @@ class Query implements \JsonSerializable
4242 * @param mixed $value
4343 * @return string
4444 */
45- public static function equal (string $attribute , $value ): string
45+ public static function equal (string $attribute , mixed $value ): string
4646 {
4747 return (new Query (' equal' , $attribute , $value ))-> __toString();
4848 }
@@ -54,7 +54,7 @@ class Query implements \JsonSerializable
5454 * @param mixed $value
5555 * @return string
5656 */
57- public static function notEqual (string $attribute , $value ): string
57+ public static function notEqual (string $attribute , mixed $value ): string
5858 {
5959 return (new Query (' notEqual' , $attribute , $value ))-> __toString();
6060 }
@@ -66,7 +66,7 @@ class Query implements \JsonSerializable
6666 * @param mixed $value
6767 * @return string
6868 */
69- public static function lessThan (string $attribute , $value ): string
69+ public static function lessThan (string $attribute , mixed $value ): string
7070 {
7171 return (new Query (' lessThan' , $attribute , $value ))-> __toString();
7272 }
@@ -78,7 +78,7 @@ class Query implements \JsonSerializable
7878 * @param mixed $value
7979 * @return string
8080 */
81- public static function lessThanEqual (string $attribute , $value ): string
81+ public static function lessThanEqual (string $attribute , mixed $value ): string
8282 {
8383 return (new Query (' lessThanEqual' , $attribute , $value ))-> __toString();
8484 }
@@ -90,7 +90,7 @@ class Query implements \JsonSerializable
9090 * @param mixed $value
9191 * @return string
9292 */
93- public static function greaterThan (string $attribute , $value ): string
93+ public static function greaterThan (string $attribute , mixed $value ): string
9494 {
9595 return (new Query (' greaterThan' , $attribute , $value ))-> __toString();
9696 }
@@ -102,7 +102,7 @@ class Query implements \JsonSerializable
102102 * @param mixed $value
103103 * @return string
104104 */
105- public static function greaterThanEqual (string $attribute , $value ): string
105+ public static function greaterThanEqual (string $attribute , mixed $value ): string
106106 {
107107 return (new Query (' greaterThanEqual' , $attribute , $value ))-> __toString();
108108 }
@@ -149,7 +149,7 @@ class Query implements \JsonSerializable
149149 * @param string|int|float $end
150150 * @return string
151151 */
152- public static function between (string $attribute , $start , $end ): string
152+ public static function between (string $attribute , mixed $start , mixed $end ): string
153153 {
154154 return (new Query (' between' , $attribute , [$start , $end ]))-> __toString();
155155 }
0 commit comments