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
                
                
                    
                                                
                                                    
                                |  | @@ 1363-1365 (lines=3) @@ | 
                                                            
                                    | 1360 |  | 				break; | 
                                                            
                                    | 1361 |  | 			} | 
                                                            
                                    | 1362 |  | 		} | 
                                                            
                                    | 1363 |  | 		if ( ! ($line_item instanceof \EE_Line_Item && $line_item->OBJ_type() === 'Ticket')) { | 
                                                            
                                    | 1364 |  | 			throw new EntityNotFoundException('Line Item Ticket ID', $ticket->ID()); | 
                                                            
                                    | 1365 |  | 		} | 
                                                            
                                    | 1366 |  | 		return $line_item; | 
                                                            
                                    | 1367 |  | 	} | 
                                                            
                                    | 1368 |  |  |