]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix casing and PHPDoc
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 3 Jun 2014 17:10:18 +0000 (19:10 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 3 Jun 2014 17:10:18 +0000 (19:10 +0200)
apps/user_ldap/appinfo/register_command.php
apps/user_ldap/command/setconfig.php
apps/user_ldap/command/showconfig.php
apps/user_ldap/command/testconfig.php

index 57e0ccbdad4afbbb5d81b2734998948b6f21e5b3..10d992531c4a6e58b76342d9e64af1e211a88c08 100644 (file)
@@ -6,6 +6,6 @@
  * See the COPYING-README file.
  */
 
-$application->add(new OCA\user_ldap\Command\showConfig());
-$application->add(new OCA\user_ldap\Command\setConfig());
-$application->add(new OCA\user_ldap\Command\testConfig());
+$application->add(new OCA\user_ldap\Command\ShowConfig());
+$application->add(new OCA\user_ldap\Command\SetConfig());
+$application->add(new OCA\user_ldap\Command\TestConfig());
index 5326c3a648def84b6e0d7c283904ca92e835d020..ab1c8d39eada8670b3731c6db8c076f2d2ac3eaf 100644 (file)
@@ -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);
index e15ec4a23877754ba2d388acf47cfcf96e33a804..f51d641beecee6979be08ed44bff910b757dc45a 100644 (file)
@@ -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();
index e393e5dd9b87e904b852efc06370c6ec10a01307..00b4acf2f6642a429b61f5d448deeb759a52ec7b 100644 (file)
@@ -52,7 +52,7 @@ class TestConfig extends Command {
 
        /**
         * tests the specified connection
-        * @param string configID
+        * @param string $configID
         * @return int
         */
        protected function testConfig($configID) {