I <3 small refactors. Ticket.php, this time