private function hasWildcards(string $subject): bool
    {
        return \mb_strpos($subject, '*') !== false || \mb_strpos($subject, '#') !== false;
    }
private function hasWildcards(string $subject): bool
    {
        return \mb_strpos($subject, '*') !== false || \mb_strpos($subject, '#') !== false;
    }
private function hasWildcards ( string $ subject ) : bool { return \ mb_strpos ( $ subject , '*' ) !== false || \ mb_strpos ( $ subject , '#' ) !== false ; }
Checks whether a string contains any wildcard characters.

@param string $subject

@return bool
Checks whether a string contains any wildcard characters .