An error is reported in the idea editor missing return statement

Error report is shown as follows:

because
I don’t have the else here

Read More: