inline if
This commit is contained in:
parent
99c6c06897
commit
371bf5418c
|
|
@ -95,10 +95,8 @@ class HttpStatisticsLogger implements StatisticsLogger
|
|||
|
||||
$overridenUrl = config('websockets.statistics.base_url_override');
|
||||
|
||||
if ($overridenUrl) {
|
||||
return $overridenUrl.action($action, [], false);
|
||||
}
|
||||
|
||||
return action($action);
|
||||
return $overridentUrl
|
||||
? $overridenUrl.action($action, [], false)
|
||||
: action($action);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue