diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-10-19 02:46:25 +0000 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-10-19 07:57:35 +0200 |
commit | bb598c8451fbfcfde91a4668322dcda5830d0922 (patch) | |
tree | c73709d5097f683c4301397977c76ba48e48060d /lib/private/Security | |
parent | 603890e951d44d96fd3e38a5389c804b47eef795 (diff) | |
download | nextcloud-server-bb598c8451fbfcfde91a4668322dcda5830d0922.tar.gz nextcloud-server-bb598c8451fbfcfde91a4668322dcda5830d0922.zip |
chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2)
---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Security')
-rw-r--r-- | lib/private/Security/Ip/Address.php | 2 | ||||
-rw-r--r-- | lib/private/Security/Ip/RemoteAddress.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Security/Ip/Address.php b/lib/private/Security/Ip/Address.php index 1df94e0a9c7..e0bb906e82d 100644 --- a/lib/private/Security/Ip/Address.php +++ b/lib/private/Security/Ip/Address.php @@ -32,7 +32,7 @@ class Address implements IAddress { return Factory::parseAddressString($ip) !== null; } - public function matches(IRange... $ranges): bool { + public function matches(IRange ... $ranges): bool { foreach ($ranges as $range) { if ($range->contains($this)) { return true; diff --git a/lib/private/Security/Ip/RemoteAddress.php b/lib/private/Security/Ip/RemoteAddress.php index cef511099b1..4eef8813898 100644 --- a/lib/private/Security/Ip/RemoteAddress.php +++ b/lib/private/Security/Ip/RemoteAddress.php @@ -34,7 +34,7 @@ class RemoteAddress implements IRemoteAddress, IAddress { return Address::isValid($ip); } - public function matches(IRange... $ranges): bool { + public function matches(IRange ... $ranges): bool { return $this->ip === null ? true : $this->ip->matches(... $ranges); |