48 - Cleaning up a Loose Variable

This commit is contained in:
Adam Wathan
2016-12-14 20:32:25 -05:00
parent 29910e02c9
commit 2ab35a2f14
5 changed files with 26 additions and 6 deletions

View File

@@ -16,6 +16,11 @@ class Reservation
return $this->tickets->sum('price');
}
public function tickets()
{
return $this->tickets;
}
public function cancel()
{
foreach ($this->tickets as $ticket) {