InvalidReturnStatement
Emitted when a function return statement is incorrect
<?php
function foo() : string {
return 5; // emitted here
}
Emitted when a function return statement is incorrect
<?php
function foo() : string {
return 5; // emitted here
}