formatting
This commit is contained in:
parent
70ffe41c86
commit
a752fb9ecc
|
|
@ -69,10 +69,10 @@ class HttpStatisticsLogger implements StatisticsLogger
|
||||||
{
|
{
|
||||||
$action = [WebSocketStatisticsEntriesController::class, 'store'];
|
$action = [WebSocketStatisticsEntriesController::class, 'store'];
|
||||||
|
|
||||||
$url_override = config('websockets.statistics.base_url_override', null);
|
$overridenUrl = config('websockets.statistics.base_url_override');
|
||||||
|
|
||||||
if ($url_override !== null) {
|
if ($overridenUrl) {
|
||||||
return $url_override.action($action, [], false);
|
return $overridenUrl.action($action, [], false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return action($action);
|
return action($action);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue