Skip to content

Commit

Permalink
Undefined array key "swoole" (#351)
Browse files Browse the repository at this point in the history
PHP Warning:  Undefined array key "swoole" in /var/www/vendor/laravel/octane/bin/createSwooleServer.php on line 10
  • Loading branch information
thecaliskan committed Aug 4, 2021
1 parent b8bd9f2 commit 0a3968e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/createSwooleServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$serverState['host'] ?? '127.0.0.1',
$serverState['port'] ?? '8080',
SWOOLE_PROCESS,
SWOOLE_SOCK_TCP | ((bool) $config['swoole']['ssl'] ?? 0) * SWOOLE_SSL,
SWOOLE_SOCK_TCP | ((bool) ($config['swoole']['ssl'] ?? 0)) * SWOOLE_SSL,
);
} catch (Throwable $e) {
Laravel\Octane\Stream::shutdown($e);
Expand Down

0 comments on commit 0a3968e

Please sign in to comment.