Run Rector on your code to see what it can do for you:

 
 }
 
-/** @var MyActionController $this */
-
-/** @var MyClxProductNet_Translate $translator */
 $translator = MyClxProductNet_Translate::create();
 
 $url = $this->bulkConsumerRegistration ?? "abc";
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: 9dccc8 - released at 2026-04-04 09:34