src/Standards/BestIt/Sniffs/TypeHints/ReturnTypeDeclarationSniff.php
protected function areRequirementsMet(): bool
    {
        return !$this->isSniffSuppressed(static::CODE_MISSING_RETURN_TYPE) && !$this->hasReturnType() &&
            !in_array($this->getFunctionName(), $this->methodsWithoutVoid);
    }
protected function areRequirementsMet(): bool
    {
        return !$this->isSniffSuppressed(static::CODE_MISSING_RETURN_TYPE) && !$this->hasReturnType() &&
            !in_array($this->getFunctionName(), $this->methodsWithoutVoid);
    }
protected function areRequirementsMet ( ) : bool { return ! $ this -> isSniffSuppressed ( static :: CODE_MISSING_RETURN_TYPE ) && ! $ this -> hasReturnType ( ) && ! in_array ( $ this -> getFunctionName ( ) , $ this -> methodsWithoutVoid ) ; }
Returns true if this sniff may run.

@return bool
Returns true if this sniff may run .