Closed wickedOne closed 6 years ago
Clone is #119
same error even if using latest master branch
Also get an error
104 | ERROR | Use return null; when a function explicitly returns null values and use return; when the function returns void values (Symfony.Functions.ReturnType.Invalid)
with Version 3.4.0
for this piece of code:
function test(): void
{
$t = function(): int {
return 1;
};
}
this raises an error while it shouldn't: