To duplicate line in phstrorm navigate to Edit menu and select Duplicate line.
Also, you can use phpstorm shortcut Cntrl + D.
Please check the image below to see how we can duplicate lines in phpstorm ide.

To duplicate line in phstrorm navigate to Edit menu and select Duplicate line.
Also, you can use phpstorm shortcut Cntrl + D.
Please check the image below to see how we can duplicate lines in phpstorm ide.