| 1 | <?php |
||
| 16 | class TicketPayment extends DataExtension |
||
| 17 | { |
||
| 18 | private static $has_one = array( |
||
|
|
|||
| 19 | 'Reservation' => 'Broarm\EventTickets\Reservation', |
||
| 20 | ); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Complete the order on a successful transaction |
||
| 24 | * |
||
| 25 | * @param ServiceResponse $response |
||
| 26 | * |
||
| 27 | * @throws \ValidationException |
||
| 28 | */ |
||
| 29 | public function onCaptured(ServiceResponse $response) |
||
| 36 | } |
||
| 37 |
This check marks private properties in classes that are never used. Those properties can be removed.