File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,8 @@ protected function getErrorList(string $testFile): array
383
383
838 => 1 ,
384
384
849 => 2 ,
385
385
860 => 2 ,
386
- 864 => 2 ,
386
+ 867 => 1 ,
387
+ 871 => 2 ,
387
388
];
388
389
}//end switch
389
390
Original file line number Diff line number Diff line change @@ -861,4 +861,11 @@ function test29(
861
861
echo "Hello " ;
862
862
}
863
863
864
+ /**
865
+ * Nullable types should be annotated.
866
+ */
867
+ function test30 (TestType $ a = NULL ) {
868
+ echo "Hello " ;
869
+ }
870
+
864
871
?>
Original file line number Diff line number Diff line change @@ -915,3 +915,10 @@ function test29(
915
915
) {
916
916
echo "Hello";
917
917
}
918
+
919
+ /**
920
+ * Nullable types should be annotated.
921
+ */
922
+ function test30(?TestType $a = NULL) {
923
+ echo "Hello";
924
+ }
You can’t perform that action at this time.
0 commit comments