diff options
Diffstat (limited to 'apps/cloud_federation_api/lib/Capabilities.php')
-rw-r--r-- | apps/cloud_federation_api/lib/Capabilities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cloud_federation_api/lib/Capabilities.php b/apps/cloud_federation_api/lib/Capabilities.php index 9b04145caa2..ad7e0889ba5 100644 --- a/apps/cloud_federation_api/lib/Capabilities.php +++ b/apps/cloud_federation_api/lib/Capabilities.php @@ -66,7 +66,7 @@ class Capabilities implements ICapability { $this->provider->setApiVersion(self::API_VERSION); $pos = strrpos($url, '/'); - if (false === $pos) { + if ($pos === false) { throw new OCMArgumentException('generated route should contains a slash character'); } |