1 | <?php |
||
23 | class TicketForm extends FormStep |
||
24 | { |
||
25 | /** |
||
26 | * @var DataList |
||
27 | */ |
||
28 | protected $tickets; |
||
29 | |||
30 | /** |
||
31 | * @var CalendarEvent |
||
32 | */ |
||
33 | protected $event; |
||
34 | |||
35 | public function __construct($controller, $name, DataList $tickets = null, CalendarEvent $event = null) |
||
51 | |||
52 | /** |
||
53 | * Get the attached reservation |
||
54 | * |
||
55 | * @return CalendarEvent |
||
56 | */ |
||
57 | public function getEvent() { |
||
60 | |||
61 | /** |
||
62 | * Handle the ticket form registration |
||
63 | * |
||
64 | * @param array $data |
||
65 | * @param TicketForm $form |
||
66 | * |
||
67 | * @return string |
||
|
|||
68 | */ |
||
69 | public function handleTicketForm(array $data, TicketForm $form) |
||
90 | } |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.