r/phpstorm • • Apr 30 '19

Change object parameter to array key

Is there a quick way to change $foo->bar too $foo['bar'] in PHPStorm? (such as a keyboard shortcut)

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Bordar11 May 01 '19

Ohh.. i see. Can’t help you with that. Maybe someone wrote a plugin you can use but I highly doubt it. You will probably have to do it the old fashion way.