Is phpstan supposed to complain about missing return type for functions with no return? #6102
-
Hi, The example file: https://github.com/skaut/skaut-google-drive-gallery/blob/1a430915d31a0238c840aeb67d19a6fcab8900c8/tests/test-class-readonly-string-option.php Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can't assume that. Missing return type is treated as an implicit |
Beta Was this translation helpful? Give feedback.
You can't assume that. Missing return type is treated as an implicit
mixed
.