* 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());
/**
* 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);
* @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();
/**
* tests the specified connection
- * @param string configID
+ * @param string $configID
* @return int
*/
protected function testConfig($configID) {