Run Rector on your code to see what it can do for you:
final class OptionProcessor { public function run(WithConstInterface $option): string { - return $option::NAME; + return \WithConstInterface::NAME; } }
Applied Rules:
Not a change you expect?
rector.php