mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-05 07:48:47 +00:00
3.6 - Refactoring and Redundant Test Coverage
This commit is contained in:
@@ -12,4 +12,9 @@ class Ticket extends Model
|
||||
{
|
||||
return $query->whereNull('order_id');
|
||||
}
|
||||
|
||||
public function release()
|
||||
{
|
||||
$this->update(['order_id' => null]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user