ObjectCalisthenics\AbstractIdentifierLengthSniff::isShortContentAllowed PHP Method

isShortContentAllowed() private method

private isShortContentAllowed ( string $content ) : boolean
$content string
return boolean
    private function isShortContentAllowed(string $content) : bool
    {
        if ($this->register() === [T_VARIABLE] && in_array($content, $this->allowedShortVariables)) {
            return true;
        }
        return false;
    }