Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
public function __construct(
private string $type,
private string $field,
- private \DateTime|int|string $value,
+ private \DateTime|int|string|bool $value,
private string $extra = ''
) {
}
}
/**
- * @return \DateTime|int|string
+ * @return \DateTime|int|string|bool
*/
- public function getValue(): string|int|\DateTime {
+ public function getValue(): string|int|bool|\DateTime {
return $this->value;
}
/**
* Get the value to compare the field with
*
- * @return string|integer|\DateTime
+ * @return string|integer|bool|\DateTime
* @since 12.0.0
*/
- public function getValue(): string|int|\DateTime;
+ public function getValue(): string|int|bool|\DateTime;
}