PhpStorm Tips & Tricks #4
Convert To Arrow Functions

⬅ Back to all tips
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