server_id !== null) { throw new ServerUsingAllocationException(trans('exceptions.allocations.server_using')); } $allocation->delete(); } }