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
383383 838 => 1 ,
384384 849 => 2 ,
385385 860 => 2 ,
386- 864 => 2 ,
386+ 867 => 1 ,
387+ 871 => 2 ,
387388 ];
388389 }//end switch
389390
Original file line number Diff line number Diff line change @@ -861,4 +861,11 @@ function test29(
861861 echo "Hello " ;
862862}
863863
864+ /**
865+ * Nullable types should be annotated.
866+ */
867+ function test30 (TestType $ a = NULL ) {
868+ echo "Hello " ;
869+ }
870+
864871?>
Original file line number Diff line number Diff line change @@ -915,3 +915,10 @@ function test29(
915915) {
916916 echo "Hello";
917917}
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