apps/federatedfilesharing/lib/Controller/RequestHandlerController.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 436-442 (lines=7) @@ | 
                                                            
                                    | 433 |  | 	 * | 
                                                            
                                    | 434 |  | 	 * @return bool | 
                                                            
                                    | 435 |  | 	 */ | 
                                                            
                                    | 436 |  | 	protected function hasNull($param) { | 
                                                            
                                    | 437 |  | 		if (\is_array($param)) { | 
                                                            
                                    | 438 |  | 			return \in_array(null, $param, true); | 
                                                            
                                    | 439 |  | 		} else { | 
                                                            
                                    | 440 |  | 			return $param === null; | 
                                                            
                                    | 441 |  | 		} | 
                                                            
                                    | 442 |  | 	} | 
                                                            
                                    | 443 |  | } | 
                                                            
                                    | 444 |  |  | 
                                                                        
                 
                                                            
                    
apps/federatedfilesharing/lib/Controller/OcmController.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 453-459 (lines=7) @@ | 
                                                            
                                    | 450 |  | 	 * | 
                                                            
                                    | 451 |  | 	 * @return bool | 
                                                            
                                    | 452 |  | 	 */ | 
                                                            
                                    | 453 |  | 	protected function hasNull($param) { | 
                                                            
                                    | 454 |  | 		if (\is_array($param)) { | 
                                                            
                                    | 455 |  | 			return \in_array(null, $param, true); | 
                                                            
                                    | 456 |  | 		} else { | 
                                                            
                                    | 457 |  | 			return $param === null; | 
                                                            
                                    | 458 |  | 		} | 
                                                            
                                    | 459 |  | 	} | 
                                                            
                                    | 460 |  |  | 
                                                            
                                    | 461 |  | 	/** | 
                                                            
                                    | 462 |  | 	 * Get share by id, validate its type and token |