apps/federatedfilesharing/lib/Controller/OcmController.php 1 location
|
@@ 272-278 (lines=7) @@
|
| 269 |
|
* |
| 270 |
|
* @return bool |
| 271 |
|
*/ |
| 272 |
|
protected function hasNull($param) { |
| 273 |
|
if (\is_array($param)) { |
| 274 |
|
return \in_array(null, $param, true); |
| 275 |
|
} else { |
| 276 |
|
return $param === null; |
| 277 |
|
} |
| 278 |
|
} |
| 279 |
|
} |
| 280 |
|
|
apps/federatedfilesharing/lib/Controller/RequestHandlerController.php 1 location
|
@@ 430-436 (lines=7) @@
|
| 427 |
|
* |
| 428 |
|
* @return bool |
| 429 |
|
*/ |
| 430 |
|
protected function hasNull($param) { |
| 431 |
|
if (\is_array($param)) { |
| 432 |
|
return \in_array(null, $param, true); |
| 433 |
|
} else { |
| 434 |
|
return $param === null; |
| 435 |
|
} |
| 436 |
|
} |
| 437 |
|
} |
| 438 |
|
|