src/ReportTypes/ReportTypesRepository.php
public function getAllNames()
    {
        $result = [];

        foreach ($this->all() as $item) {
            if ($item instanceof ReportTypeInterface && ($name = $item->getName()) !== null) {
                $result[] = $name;
            }
        }

        return $result;
    }
public function getAllNames()
    {
        $result = [];

        foreach ($this->all() as $item) {
            if ($item instanceof ReportTypeInterface && ($name = $item->getName()) !== null) {
                $result[] = $name;
            }
        }

        return $result;
    }
{@inheritdoc}