mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Exception handling
This commit is contained in:
		
							parent
							
								
									8a85428532
								
							
						
					
					
						commit
						e64f4fda9a
					
				@ -185,7 +185,7 @@ class WePayPaymentDriver extends BaseDriver
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (! isset($objectType)) {
 | 
					        if (! isset($objectType)) {
 | 
				
			||||||
            throw new Exception('Could not find object id parameter');
 | 
					            throw new \Exception('Could not find object id parameter');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ($objectType == 'credit_card') {
 | 
					        if ($objectType == 'credit_card') {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user