summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/command
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-06-03 19:10:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-03 19:10:18 +0200
commit70ae7fa091cb396f82005e17a849d3d0ac8c9751 (patch)
treecb776387c00d7a63224a707d55523a4bc9208e6b /apps/user_ldap/command
parent75d320cc91207d0ee942a09ec61d03b166e26c9c (diff)
downloadnextcloud-server-70ae7fa091cb396f82005e17a849d3d0ac8c9751.tar.gz
nextcloud-server-70ae7fa091cb396f82005e17a849d3d0ac8c9751.zip
Fix casing and PHPDoc
Diffstat (limited to 'apps/user_ldap/command')
-rw-r--r--apps/user_ldap/command/setconfig.php6
-rw-r--r--apps/user_ldap/command/showconfig.php1
-rw-r--r--apps/user_ldap/command/testconfig.php2
3 files changed, 4 insertions, 5 deletions
diff --git a/apps/user_ldap/command/setconfig.php b/apps/user_ldap/command/setconfig.php
index 5326c3a648d..ab1c8d39ead 100644
--- a/apps/user_ldap/command/setconfig.php
+++ b/apps/user_ldap/command/setconfig.php
@@ -57,9 +57,9 @@ class SetConfig extends Command {
/**
* save the configuration value as provided
- * @param string configID
- * @param string configKey
- * @param string configValue
+ * @param string $configID
+ * @param string $configKey
+ * @param string $configValue
*/
protected function setValue($configID, $key, $value) {
$configHolder = new Configuration($configID);
diff --git a/apps/user_ldap/command/showconfig.php b/apps/user_ldap/command/showconfig.php
index e15ec4a2387..f51d641beec 100644
--- a/apps/user_ldap/command/showconfig.php
+++ b/apps/user_ldap/command/showconfig.php
@@ -52,7 +52,6 @@ class ShowConfig extends Command {
* @param OutputInterface $output
*/
protected function renderConfigs($configIDs, $output) {
- $ldapWrapper = new \OCA\user_ldap\lib\LDAP();
foreach($configIDs as $id) {
$configHolder = new Configuration($id);
$configuration = $configHolder->getConfiguration();
diff --git a/apps/user_ldap/command/testconfig.php b/apps/user_ldap/command/testconfig.php
index e393e5dd9b8..00b4acf2f66 100644
--- a/apps/user_ldap/command/testconfig.php
+++ b/apps/user_ldap/command/testconfig.php
@@ -52,7 +52,7 @@ class TestConfig extends Command {
/**
* tests the specified connection
- * @param string configID
+ * @param string $configID
* @return int
*/
protected function testConfig($configID) {