src/PHPDish/Bundle/PaymentBundle/Model/Wallet.php
public function release($amount)
    {
        if ($this->freezeAmount < $amount) {
            throw new \LogicException('Not enough frozen balance');
        }
        $this->amount += $amount;
        $this->freezeAmount -= $amount;
        return $this;
    }
public function release($amount)
    {
        if ($this->freezeAmount < $amount) {
            throw new \LogicException('Not enough frozen balance');
        }
        $this->amount += $amount;
        $this->freezeAmount -= $amount;
        return $this;
    }
{@inheritdoc}