PhpStorm Tips & Tricks #4
Convert To Arrow Functions

photo of Christoph Rumpel

Christoph Rumpel ๐Ÿค 

@christophrumpel

๐Ÿงช PhpStorm Tips & Tricks #4 - Convert To Arrow Functions

You can easily convert functions to arrow functions by using the "show context action" (โŒฅ + enter) shortcut.

My favorite aspect is that you do not need "use" anymore to pass variables to the function. Less code is good code ๐Ÿ‘Œ


Ready for more?

Mastering PhpStorm Logo text

Tips & Tricks was just the beginning. In my new video course, I cover all the essential features of PhpStorm like Refactoring, Testing, Debugging and Git in detail.

Show Me
โฌ… Back to all tips