mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Code cleanup
This commit is contained in:
@@ -51,7 +51,7 @@ class TrustProxies extends Middleware
|
||||
{
|
||||
$trustedProxies = env('TRUSTED_PROXIES', null);
|
||||
if (false !== $trustedProxies && null !== $trustedProxies && strlen($trustedProxies) > 0) {
|
||||
$this->proxies = strval($trustedProxies);
|
||||
$this->proxies = (string)$trustedProxies;
|
||||
}
|
||||
|
||||
parent::__construct($config);
|
||||
|
||||
Reference in New Issue
Block a user