src/Valkyrja/Annotations/NativeAnnotationsParser.php
protected function getAnnotationMatches(string $docString): ? array
    {
        preg_match_all($this->getRegex(), $docString, $matches);

        return $matches ?? null;
    }
protected function getAnnotationMatches(string $docString): ? array
    {
        preg_match_all($this->getRegex(), $docString, $matches);

        return $matches ?? null;
    }
Get annotation matches.

@param string $docString The doc string

@return array[]