src/SourceLocator/SourceStubber/AggregateSourceStubber.php
public function generateFunctionStub(CoreReflectionFunction $functionReflection) : ?string
    {
        foreach ($this->sourceStubbers as $sourceStubber) {
            $stub = $sourceStubber->generateFunctionStub($functionReflection);

            if ($stub !== null) {
                return $stub;
            }
        }

        return null;
    }
public function generateFunctionStub(CoreReflectionFunction $functionReflection) : ?string
    {
        foreach ($this->sourceStubbers as $sourceStubber) {
            $stub = $sourceStubber->generateFunctionStub($functionReflection);

            if ($stub !== null) {
                return $stub;
            }
        }

        return null;
    }
{@inheritDoc}