mirror of
https://github.com/friendica/friendica
synced 2025-01-31 19:39:48 +00:00
Fix PHP warning
This commit is contained in:
parent
ea35ec4d6e
commit
148c9cdfe6
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class App
|
||||||
|
|
||||||
private function determineLogChannel(array $argv): string
|
private function determineLogChannel(array $argv): string
|
||||||
{
|
{
|
||||||
$command = strtolower($argv[1]) ?? '';
|
$command = strtolower($argv[1] ?? '');
|
||||||
|
|
||||||
if ($command === 'daemon' || $command === 'jetstream') {
|
if ($command === 'daemon' || $command === 'jetstream') {
|
||||||
return LogChannel::DAEMON;
|
return LogChannel::DAEMON;
|
||||||
|
|
Loading…
Add table
Reference in a new issue