src/AttachableTrait.php
public function unattach($attaches = null)
    {
        $attaches = $attaches ?: $this->attaches->lists('name')->all();

        foreach ($this->prepareAttaches($attaches) as $attach) {
            $this->removeAttach($attach);
        }

        return true;
    }
public function unattach($attaches = null)
    {
        $attaches = $attaches ?: $this->attaches->lists('name')->all();

        foreach ($this->prepareAttaches($attaches) as $attach) {
            $this->removeAttach($attach);
        }

        return true;
    }
{@inheritdoc}