where('slug', $slug) ->first(); if (! $issue) { throw new \InvalidArgumentException("Issue not found: {$slug}"); } $issue->archive($reason); return $issue->fresh(); } }