<NME> NullableHintsClass.php
<BEF> <?php

namespace ZendTest\Code\TestAsset;

class NullableHintsClass
{
    public function arrayParameter(?array $foo)
    {
    }

    public function callableParameter(?callable $foo)
    {
    }

    public function intParameter(?int $foo)
    {
    }

    public function floatParameter(?float $foo)
    {
    }

    public function stringParameter(?string $foo)
    {
    }

    public function boolParameter(?bool $foo)
    {
    }

    public function selfParameter(?self $foo)
    {
    }

    public function nullableHintsClassParameter(?NullableHintsClass $foo)
    {
    }
}

<MSG> Nullable `parent` hint test asset

<DFF> @@ -2,7 +2,7 @@
 
 namespace ZendTest\Code\TestAsset;
 
-class NullableHintsClass
+class NullableHintsClass extends EmptyClass
 {
     public function arrayParameter(?array $foo)
     {
@@ -32,6 +32,10 @@ class NullableHintsClass
     {
     }
 
+    public function parentParameter(?parent $foo)
+    {
+    }
+
     public function nullableHintsClassParameter(?NullableHintsClass $foo)
     {
     }

Nullable `parent` hint test asset