<NME> NullableReturnTypeHintedClass.php
<BEF> <?php

namespace ZendTest\Code\TestAsset;

class NullableReturnTypeHintedClass extends EmptyClass
{
    public function arrayReturn() : ?array
    {
    }

    public function callableReturn() : ?callable
    {
    }

    public function intReturn() : ?int
    {
    }

    public function floatReturn() : ?float
    {
    }

    public function stringReturn() : ?string
    {
    }

    public function boolReturn() : ?bool
    {
    }

    public function selfReturn() : ?self
    {
    }

    public function classReturn() : ?ReturnTypeHintedClass
    {
    }

    public function classReturn() : ?NullableReturnTypeHintedClass
    {
    }

    public function otherClassReturn() : ?InternalHintsClass
    {
    }
}

<MSG> Corrected test asset: using same class to distinguish usage of `self` vs imported symbol

<DFF> @@ -32,7 +32,7 @@ class NullableReturnTypeHintedClass
     {
     }
 
-    public function classReturn() : ?ReturnTypeHintedClass
+    public function classReturn() : ?NullableReturnTypeHintedClass
     {
     }
 

Corrected test asset: using same class to distinguish usage of `self` vs imported symbol