formatting

This commit is contained in:
rennokki 2020-08-13 08:30:24 +03:00 committed by GitHub
parent 70ffe41c86
commit a752fb9ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -69,10 +69,10 @@ class HttpStatisticsLogger implements StatisticsLogger
{
$action = [WebSocketStatisticsEntriesController::class, 'store'];
$url_override = config('websockets.statistics.base_url_override', null);
$overridenUrl = config('websockets.statistics.base_url_override');
if ($url_override !== null) {
return $url_override.action($action, [], false);
if ($overridenUrl) {
return $overridenUrl.action($action, [], false);
}
return action($action);