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
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 1846-1848 (lines=3) @@
                                 | 
                            
                                                            
                                    | 1843 | 
                                     | 
                                                    break;  | 
                                
                                                            
                                    | 1844 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 1845 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 1846 | 
                                     | 
                                            if (! ($line_item instanceof \EE_Line_Item && $line_item->OBJ_type() === 'Ticket')) { | 
                                
                                                            
                                    | 1847 | 
                                     | 
                                                throw new EntityNotFoundException('Line Item Ticket ID', $ticket->ID()); | 
                                
                                                            
                                    | 1848 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 1849 | 
                                     | 
                                            return $line_item;  | 
                                
                                                            
                                    | 1850 | 
                                     | 
                                        }  | 
                                
                                                            
                                    | 1851 | 
                                     | 
                                     |