PHP plugin for Intellij IDEA to fold boilerplate lambdas
Fold your closures like a boss!
Plugin folds one-line closures into more concise form and provides some type inference for closure arguments. Closure body must consist of one return statement enclosing expression.
Install plugin from repository