core/domain/services/ticket/CancelTicketLineItemService.php 1 location
|
@@ 133-135 (lines=3) @@
|
| 130 |
|
break; |
| 131 |
|
} |
| 132 |
|
} |
| 133 |
|
if ( ! ($line_item instanceof \EE_Line_Item && $line_item->OBJ_type() === 'Ticket')) { |
| 134 |
|
throw new EntityNotFoundException('Line Item Ticket ID', $ticket->ID()); |
| 135 |
|
} |
| 136 |
|
return $line_item; |
| 137 |
|
} |
| 138 |
|
|
core/db_classes/EE_Registration.class.php 1 location
|
@@ 1405-1407 (lines=3) @@
|
| 1402 |
|
break; |
| 1403 |
|
} |
| 1404 |
|
} |
| 1405 |
|
if ( ! ($line_item instanceof \EE_Line_Item && $line_item->OBJ_type() === 'Ticket')) { |
| 1406 |
|
throw new EntityNotFoundException('Line Item Ticket ID', $ticket->ID()); |
| 1407 |
|
} |
| 1408 |
|
return $line_item; |
| 1409 |
|
} |
| 1410 |
|
|