apps/federatedfilesharing/lib/Controller/RequestHandlerController.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 441-447 (lines=7) @@
                                 | 
                            
                                                            
                                    | 438 | 
                                     | 
                                    	 *  | 
                                
                                                            
                                    | 439 | 
                                     | 
                                    	 * @return bool  | 
                                
                                                            
                                    | 440 | 
                                     | 
                                    	 */  | 
                                
                                                            
                                    | 441 | 
                                     | 
                                    	protected function hasNull($param) { | 
                                
                                                            
                                    | 442 | 
                                     | 
                                    		if (\is_array($param)) { | 
                                
                                                            
                                    | 443 | 
                                     | 
                                    			return \in_array(null, $param, true);  | 
                                
                                                            
                                    | 444 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 445 | 
                                     | 
                                    			return $param === null;  | 
                                
                                                            
                                    | 446 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 447 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 448 | 
                                     | 
                                    }  | 
                                
                                                            
                                    | 449 | 
                                     | 
                                     | 
                                
                                                                        
                 
                                                            
                    
apps/federatedfilesharing/lib/Controller/OcmController.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 400-406 (lines=7) @@
                                 | 
                            
                                                            
                                    | 397 | 
                                     | 
                                    	 *  | 
                                
                                                            
                                    | 398 | 
                                     | 
                                    	 * @return bool  | 
                                
                                                            
                                    | 399 | 
                                     | 
                                    	 */  | 
                                
                                                            
                                    | 400 | 
                                     | 
                                    	protected function hasNull($param) { | 
                                
                                                            
                                    | 401 | 
                                     | 
                                    		if (\is_array($param)) { | 
                                
                                                            
                                    | 402 | 
                                     | 
                                    			return \in_array(null, $param, true);  | 
                                
                                                            
                                    | 403 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 404 | 
                                     | 
                                    			return $param === null;  | 
                                
                                                            
                                    | 405 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 406 | 
                                     | 
                                    	}  | 
                                
                                                            
                                    | 407 | 
                                     | 
                                     | 
                                
                                                            
                                    | 408 | 
                                     | 
                                    	/**  | 
                                
                                                            
                                    | 409 | 
                                     | 
                                    	 * Get share by id, validate it's type and token  |