PhpStorm 2019.2 Help

Code Inspection: Possibly async function

Highlights usages of await in functions that were possibly intended to be async but are missing the async modifier. While it is possible to use await as an identifier, it is likely that it was intended to be used as an operatorand the containing function should be made async.

Last modified: 23 August 2019