summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Backend/SMB.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-26 23:46:40 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-26 23:46:40 +0100
commita661f043e1a8764cb7c795f50df77b830d3e352b (patch)
tree77a06311ffb5e59c86def06bbb618335da1f2b6a /apps/files_external/lib/Lib/Backend/SMB.php
parent9be6050cc42c2760bd2276942a24ba3db288b551 (diff)
downloadnextcloud-server-a661f043e1a8764cb7c795f50df77b830d3e352b.tar.gz
nextcloud-server-a661f043e1a8764cb7c795f50df77b830d3e352b.zip
Remove unneeded semicolon and parentheses
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external/lib/Lib/Backend/SMB.php')
-rw-r--r--apps/files_external/lib/Lib/Backend/SMB.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Lib/Backend/SMB.php b/apps/files_external/lib/Lib/Backend/SMB.php
index c4aadbd13f6..38e386005ad 100644
--- a/apps/files_external/lib/Lib/Backend/SMB.php
+++ b/apps/files_external/lib/Lib/Backend/SMB.php
@@ -44,8 +44,8 @@ class SMB extends Backend {
->setStorageClass('\OCA\Files_External\Lib\Storage\SMB')
->setText($l->t('SMB / CIFS'))
->addParameters([
- (new DefinitionParameter('host', $l->t('Host'))),
- (new DefinitionParameter('share', $l->t('Share'))),
+ new DefinitionParameter('host', $l->t('Host')),
+ new DefinitionParameter('share', $l->t('Share')),
(new DefinitionParameter('root', $l->t('Remote subfolder')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
(new DefinitionParameter('domain', $l->t('Domain')))