/** * @param Token $token * @return bool */ protected function isBinary(Token $token) { return $token->getType() == TokenTypes::T_OPERATOR && $this->hasBinaryOperator($token->getValue()); }