mirror of
https://github.com/friendica/friendica
synced 2025-02-09 22:58:51 +00:00
Fix possible falsy return of getopt()
This commit is contained in:
parent
894cd5814f
commit
619cb730ef
2 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ parameters:
|
|||
|
||||
paths:
|
||||
- addon/
|
||||
- src/
|
||||
- bin/daemon.php
|
||||
- index.php
|
||||
- src/
|
||||
|
||||
excludePaths:
|
||||
analyse:
|
||||
|
|
|
@ -31,4 +31,4 @@ $dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.
|
|||
|
||||
$app = \Friendica\App::fromDice($dice);
|
||||
|
||||
$app->processDaemon($_SERVER['argv'] ?? [], $options);
|
||||
$app->processDaemon($_SERVER['argv'] ?? [], $options ?: []);
|
||||
|
|
Loading…
Add table
Reference in a new issue