diff --git a/src/Rector/NodeFactoryTrait.php b/src/Rector/NodeFactoryTrait.php
index <HASH>..<HASH> 100644
--- a/src/Rector/NodeFactoryTrait.php
+++ b/src/Rector/NodeFactoryTrait.php
@@ -24,7 +24,7 @@ trait NodeFactoryTrait
     /**
      * @var NodeFactory
      */
-    private $nodeFactory;
+    protected $nodeFactory;
 
     /**
      * @required
make NodeFactory protected in NodeFactoryTrait