Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 157 Bytes

InvalidReturnStatement.md

File metadata and controls

11 lines (8 loc) · 157 Bytes

InvalidReturnStatement

Emitted when a function return statement is incorrect

<?php

function foo() : string {
    return 5; // emitted here
}