Update Ticket.php

Changed the access modifier of jsonSerialize() to explicit public.