diff options
Diffstat (limited to 'lib/private/Http/Client/DnsPinMiddleware.php')
-rw-r--r-- | lib/private/Http/Client/DnsPinMiddleware.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Http/Client/DnsPinMiddleware.php b/lib/private/Http/Client/DnsPinMiddleware.php index 5a87ff705a6..0406405c430 100644 --- a/lib/private/Http/Client/DnsPinMiddleware.php +++ b/lib/private/Http/Client/DnsPinMiddleware.php @@ -36,7 +36,8 @@ class DnsPinMiddleware { public function __construct( NegativeDnsCache $negativeDnsCache, - LocalAddressChecker $localAddressChecker) { + LocalAddressChecker $localAddressChecker + ) { $this->negativeDnsCache = $negativeDnsCache; $this->localAddressChecker = $localAddressChecker; } @@ -106,7 +107,7 @@ class DnsPinMiddleware { '443', ]; - if ($port != null) { + if ($port !== null) { $ports[] = (string)$port; } |