src/Entity/RefreshTokenEntity.php
public function save()
    {
		if ($this->isNew) {
			$this->server->getRefreshTokenStorage()->create(
				$this->getId(),
				$this->getExpireTime(),
				$this->getAccessToken()->getId()
			);
		}else{
			$this->server->getRefreshTokenStorage()->save($this);
		}
    }
public function save()
    {
		if ($this->isNew) {
			$this->server->getRefreshTokenStorage()->create(
				$this->getId(),
				$this->getExpireTime(),
				$this->getAccessToken()->getId()
			);
		}else{
			$this->server->getRefreshTokenStorage()->save($this);
		}
    }
{@inheritdoc}