/** * @inheritdoc */ public function parse($token, $key) { if (is_array($token) && $token[0] == T_PAAMAYIM_NEKUDOTAYIM && $this->isTokenClass($this->tokens->getPreviousToken($key))) { $this->staticCalls[] = $key; } }