InvalidReturnStatement
March 20, 2020 ยท View on GitHub
Emitted when a function return statement is incorrect
<?php
function foo() : string {
return 5; // emitted here
}
March 20, 2020 ยท View on GitHub
Emitted when a function return statement is incorrect
<?php
function foo() : string {
return 5; // emitted here
}