From a661f043e1a8764cb7c795f50df77b830d3e352b Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 26 Jan 2018 23:46:40 +0100 Subject: Remove unneeded semicolon and parentheses Signed-off-by: Morris Jobke --- apps/files_external/lib/Lib/Storage/Swift.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_external/lib/Lib/Storage/Swift.php') diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php index aeedd3dcd63..aaa7e95bbdf 100644 --- a/apps/files_external/lib/Lib/Storage/Swift.php +++ b/apps/files_external/lib/Lib/Storage/Swift.php @@ -170,7 +170,7 @@ class Swift extends \OC\Files\Storage\Common { $bucketUrl = Url::factory($params['bucket']); if ($bucketUrl->isAbsolute()) { - $this->bucket = end(($bucketUrl->getPathSegments())); + $this->bucket = end($bucketUrl->getPathSegments()); $params['endpoint_url'] = $bucketUrl->addPath('..')->normalizePath(); } else { $this->bucket = $params['bucket']; -- cgit v1.2.3