@@ -886,14 +886,14 @@ public function dataValuesArray(): iterable
886
886
], [
887
887
new ConstantStringType ('a ' ),
888
888
new ConstantStringType ('b ' ),
889
- ], [20 ], [], false ),
889
+ ], [20 ], [], TrinaryLogic:: createNo () ),
890
890
new ConstantArrayType ([
891
891
new ConstantIntegerType (0 ),
892
892
new ConstantIntegerType (1 ),
893
893
], [
894
894
new ConstantStringType ('a ' ),
895
895
new ConstantStringType ('b ' ),
896
- ], [2 ], [], true ),
896
+ ], [2 ], [], TrinaryLogic:: createYes () ),
897
897
];
898
898
899
899
yield 'optional-1 ' => [
@@ -909,7 +909,7 @@ public function dataValuesArray(): iterable
909
909
new ConstantStringType ('c ' ),
910
910
new ConstantStringType ('d ' ),
911
911
new ConstantStringType ('e ' ),
912
- ], [15 ], [1 , 3 ], false ),
912
+ ], [15 ], [1 , 3 ], TrinaryLogic:: createNo () ),
913
913
new ConstantArrayType ([
914
914
new ConstantIntegerType (0 ),
915
915
new ConstantIntegerType (1 ),
@@ -922,7 +922,7 @@ public function dataValuesArray(): iterable
922
922
new UnionType ([new ConstantStringType ('c ' ), new ConstantStringType ('d ' ), new ConstantStringType ('e ' )]),
923
923
new UnionType ([new ConstantStringType ('d ' ), new ConstantStringType ('e ' )]),
924
924
new ConstantStringType ('e ' ),
925
- ], [3 , 4 , 5 ], [3 , 4 ], true ),
925
+ ], [3 , 4 , 5 ], [3 , 4 ], TrinaryLogic:: createYes () ),
926
926
];
927
927
928
928
yield 'optional-2 ' => [
@@ -938,7 +938,7 @@ public function dataValuesArray(): iterable
938
938
new ConstantStringType ('c ' ),
939
939
new ConstantStringType ('d ' ),
940
940
new ConstantStringType ('e ' ),
941
- ], [15 ], [0 , 2 , 4 ], false ),
941
+ ], [15 ], [0 , 2 , 4 ], TrinaryLogic:: createNo () ),
942
942
new ConstantArrayType ([
943
943
new ConstantIntegerType (0 ),
944
944
new ConstantIntegerType (1 ),
@@ -951,7 +951,7 @@ public function dataValuesArray(): iterable
951
951
new UnionType ([new ConstantStringType ('c ' ), new ConstantStringType ('d ' ), new ConstantStringType ('e ' )]),
952
952
new UnionType ([new ConstantStringType ('d ' ), new ConstantStringType ('e ' )]),
953
953
new ConstantStringType ('e ' ),
954
- ], [2 , 3 , 4 , 5 ], [2 , 3 , 4 ], true ),
954
+ ], [2 , 3 , 4 , 5 ], [2 , 3 , 4 ], TrinaryLogic:: createYes () ),
955
955
];
956
956
957
957
yield 'optional-at-end-and-list ' => [
@@ -963,7 +963,7 @@ public function dataValuesArray(): iterable
963
963
new ConstantStringType ('a ' ),
964
964
new ConstantStringType ('b ' ),
965
965
new ConstantStringType ('c ' ),
966
- ], [11 , 12 , 13 ], [1 , 2 ], true ),
966
+ ], [11 , 12 , 13 ], [1 , 2 ], TrinaryLogic:: createYes () ),
967
967
new ConstantArrayType ([
968
968
new ConstantIntegerType (0 ),
969
969
new ConstantIntegerType (1 ),
@@ -972,7 +972,7 @@ public function dataValuesArray(): iterable
972
972
new ConstantStringType ('a ' ),
973
973
new ConstantStringType ('b ' ),
974
974
new ConstantStringType ('c ' ),
975
- ], [1 , 2 , 3 ], [1 , 2 ], true ),
975
+ ], [1 , 2 , 3 ], [1 , 2 ], TrinaryLogic:: createYes () ),
976
976
];
977
977
978
978
yield 'optional-at-end-but-not-list ' => [
@@ -984,7 +984,7 @@ public function dataValuesArray(): iterable
984
984
new ConstantStringType ('a ' ),
985
985
new ConstantStringType ('b ' ),
986
986
new ConstantStringType ('c ' ),
987
- ], [11 , 12 , 13 ], [1 , 2 ], false ),
987
+ ], [11 , 12 , 13 ], [1 , 2 ], TrinaryLogic:: createNo () ),
988
988
new ConstantArrayType ([
989
989
new ConstantIntegerType (0 ),
990
990
new ConstantIntegerType (1 ),
@@ -993,7 +993,7 @@ public function dataValuesArray(): iterable
993
993
new ConstantStringType ('a ' ),
994
994
new UnionType ([new ConstantStringType ('b ' ), new ConstantStringType ('c ' )]),
995
995
new ConstantStringType ('c ' ),
996
- ], [1 , 2 , 3 ], [1 , 2 ], true ),
996
+ ], [1 , 2 , 3 ], [1 , 2 ], TrinaryLogic:: createYes () ),
997
997
];
998
998
}
999
999
0 commit comments