src/Standards/BestIt/Sniffs/DocTags/AbstractRequiredTagsSniff.php
private function processTagRules(): array
    {
        $processedTagRules = $this->getTagRules();

        array_walk($processedTagRules, function (&$tagRule) {
            $tagRule = array_map(function ($valueOrCallback) {
                return is_callable($valueOrCallback, true)
                    ? Closure::fromCallable($valueOrCallback)->call($this)
                    : $valueOrCallback;
            }, $tagRule);
        });

        return $processedTagRules;
    }
private function processTagRules(): array
    {
        $processedTagRules = $this->getTagRules();

        array_walk($processedTagRules, function (&$tagRule) {
            $tagRule = array_map(function ($valueOrCallback) {
                return is_callable($valueOrCallback, true)
                    ? Closure::fromCallable($valueOrCallback)->call($this)
                    : $valueOrCallback;
            }, $tagRule);
        });

        return $processedTagRules;
    }
private function processTagRules ( ) : array { $ processedTagRules = $ this -> getTagRules ( ) ; array_walk ( $ processedTagRules , function ( & $ tagRule ) { $ tagRule = array_map ( function ( $ valueOrCallback ) { return is_callable ( $ valueOrCallback , true ) ? Closure :: fromCallable ( $ valueOrCallback ) -> call ( $ this ) : $ valueOrCallback ; } , $ tagRule ) ; } ) ; return $ processedTagRules ; }
Resolves the callbacks in the tag rules.

@return array
Resolves the callbacks in the tag rules .