OK I will modify my code.
Few line before these ones, we can read:

      if ($this->oldRefreshToken) {
        $this->storage->unsetRefreshToken($this->oldRefreshToken);
        unset($this->oldRefreshToken);
      }

Should I modify this line too?