@@ -150,11 +150,11 @@ protected function matchNone(None $rules, object $row): bool
150150 * Create a rule that matches rows with a column that **equals** the given value
151151 *
152152 * @param string $column
153- * @param array<mixed>|bool|float|int|string|DateTime $value
153+ * @param array<mixed>|bool|float|int|string|DateTime|null $value
154154 *
155155 * @return Condition
156156 */
157- public static function equal (string $ column , array |bool |float |int |string |DateTime $ value ): Condition
157+ public static function equal (string $ column , array |bool |float |int |string |DateTime | null $ value ): Condition
158158 {
159159 return new Equal ($ column , $ value );
160160 }
@@ -201,11 +201,11 @@ protected function matchEqual(Equal|Unequal $rule, object $row): bool
201201 * Performs a wildcard search if the value contains asterisks.
202202 *
203203 * @param string $column
204- * @param string|string[] $value
204+ * @param string|string[]|null $value
205205 *
206206 * @return Condition
207207 */
208- public static function like (string $ column , string |array $ value ): Condition
208+ public static function like (string $ column , string |array | null $ value ): Condition
209209 {
210210 return new Like ($ column , $ value );
211211 }
@@ -320,11 +320,11 @@ protected function performSimilarityMatch(mixed $value, mixed $rowValue, bool $i
320320 * Create a rule that matches rows with a column that is **unequal** with the given value
321321 *
322322 * @param string $column
323- * @param array<mixed>|bool|float|int|string|DateTime $value
323+ * @param array<mixed>|bool|float|int|string|DateTime|null $value
324324 *
325325 * @return Condition
326326 */
327- public static function unequal (string $ column , array |bool |float |int |string |DateTime $ value ): Condition
327+ public static function unequal (string $ column , array |bool |float |int |string |DateTime | null $ value ): Condition
328328 {
329329 return new Unequal ($ column , $ value );
330330 }
@@ -348,11 +348,11 @@ protected function matchUnequal(Unequal $rule, object $row): bool
348348 * Performs a wildcard search if the value contains asterisks.
349349 *
350350 * @param string $column
351- * @param string|string[] $value
351+ * @param string|string[]|null $value
352352 *
353353 * @return Condition
354354 */
355- public static function unlike (string $ column , string |array $ value ): Condition
355+ public static function unlike (string $ column , string |array | null $ value ): Condition
356356 {
357357 return new Unlike ($ column , $ value );
358358 }
@@ -374,11 +374,11 @@ protected function matchUnlike(Unlike $rule, object $row): bool
374374 * Create a rule that matches rows with a column that is **greater** than the given value
375375 *
376376 * @param string $column
377- * @param float|int|string|DateTime $value
377+ * @param float|int|string|DateTime|null $value
378378 *
379379 * @return Condition
380380 */
381- public static function greaterThan (string $ column , float |int |string |DateTime $ value ): Condition
381+ public static function greaterThan (string $ column , float |int |string |DateTime | null $ value ): Condition
382382 {
383383 return new GreaterThan ($ column , $ value );
384384 }
@@ -403,11 +403,11 @@ protected function matchGreaterThan(GreaterThan $rule, object $row): bool
403403 * Create a rule that matches rows with a column that is **less** than the given value
404404 *
405405 * @param string $column
406- * @param float|int|string|DateTime $value
406+ * @param float|int|string|DateTime|null $value
407407 *
408408 * @return Condition
409409 */
410- public static function lessThan (string $ column , float |int |string |DateTime $ value ): Condition
410+ public static function lessThan (string $ column , float |int |string |DateTime | null $ value ): Condition
411411 {
412412 return new LessThan ($ column , $ value );
413413 }
@@ -432,11 +432,11 @@ protected function matchLessThan(LessThan $rule, object $row): bool
432432 * Create a rule that matches rows with a column that is **greater** than or **equal** to the given value
433433 *
434434 * @param string $column
435- * @param float|int|string|DateTime $value
435+ * @param float|int|string|DateTime|null $value
436436 *
437437 * @return Condition
438438 */
439- public static function greaterThanOrEqual (string $ column , float |int |string |DateTime $ value ): Condition
439+ public static function greaterThanOrEqual (string $ column , float |int |string |DateTime | null $ value ): Condition
440440 {
441441 return new GreaterThanOrEqual ($ column , $ value );
442442 }
@@ -461,11 +461,11 @@ protected function matchGreaterThanOrEqual(GreaterThanOrEqual $rule, object $row
461461 * Create a rule that matches rows with a column that is **less** than or **equal** to the given value
462462 *
463463 * @param string $column
464- * @param float|int|string|DateTime $value
464+ * @param float|int|string|DateTime|null $value
465465 *
466466 * @return Condition
467467 */
468- public static function lessThanOrEqual (string $ column , float |int |string |DateTime $ value ): Condition
468+ public static function lessThanOrEqual (string $ column , float |int |string |DateTime | null $ value ): Condition
469469 {
470470 return new LessThanOrEqual ($ column , $ value );
471471 }
0 commit comments