Try these: PHP 7.4 Typed Properties create_function() Early Return Null Coalescing


Result

Used Rector version: 0.8.x-dev@fbedce3

final class CompleteMe
 {
-    private $eventDispatcher;
+    private \EventDispatcher $eventDispatcher;
 	
     public function __construct(EventDispatcher $eventDispatcher)
     {