PhpStorm changing a specific reformat code option

22 Views Asked by At
$new_class = new NewClass; /** @var NewClass $new_class */

When I use PhpStorm's code format the above code becomes:

$new_class = new NewClass;
/** @var NewClass $new_class */

Is there anyway to make it keep these @var comments on the same line where it was?

0

There are 0 best solutions below