File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class SearchComparison implements ISearchComparison {
3333 public function __construct (
3434 private string $ type ,
3535 private string $ field ,
36- private \DateTime |int |string $ value ,
36+ private \DateTime |int |string | bool $ value ,
3737 private string $ extra = ''
3838 ) {
3939 }
@@ -53,9 +53,9 @@ public function getField(): string {
5353 }
5454
5555 /**
56- * @return \DateTime|int|string
56+ * @return \DateTime|int|string|bool
5757 */
58- public function getValue (): string |int |\DateTime {
58+ public function getValue (): string |int |bool | \DateTime {
5959 return $ this ->value ;
6060 }
6161
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ public function getExtra(): string;
6767 /**
6868 * Get the value to compare the field with
6969 *
70- * @return string|integer|\DateTime
70+ * @return string|integer|bool| \DateTime
7171 * @since 12.0.0
7272 */
73- public function getValue (): string |int |\DateTime ;
73+ public function getValue (): string |int |bool | \DateTime ;
7474}
You can’t perform that action at this time.
0 commit comments