core/domain/services/ticket/CancelTicketLineItemService.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 127-129 (lines=3) @@ | 
                                                            
                                    | 124 |  |                 break; | 
                                                            
                                    | 125 |  |             } | 
                                                            
                                    | 126 |  |         } | 
                                                            
                                    | 127 |  |         if (! ($line_item instanceof \EE_Line_Item && $line_item->OBJ_type() === 'Ticket')) { | 
                                                            
                                    | 128 |  |             throw new EntityNotFoundException('Line Item Ticket ID', $ticket->ID()); | 
                                                            
                                    | 129 |  |         } | 
                                                            
                                    | 130 |  |         return $line_item; | 
                                                            
                                    | 131 |  |     } | 
                                                            
                                    | 132 |  | } | 
                                                                        
                 
                                                            
                    
core/db_classes/EE_Registration.class.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1938-1940 (lines=3) @@ | 
                                                            
                                    | 1935 |  |                 break; | 
                                                            
                                    | 1936 |  |             } | 
                                                            
                                    | 1937 |  |         } | 
                                                            
                                    | 1938 |  |         if (! ($line_item instanceof \EE_Line_Item && $line_item->OBJ_type() === 'Ticket')) { | 
                                                            
                                    | 1939 |  |             throw new EntityNotFoundException('Line Item Ticket ID', $ticket->ID()); | 
                                                            
                                    | 1940 |  |         } | 
                                                            
                                    | 1941 |  |         return $line_item; | 
                                                            
                                    | 1942 |  |     } | 
                                                            
                                    | 1943 |  |  |