Commit 9668405e authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

doc fixes and removal of unnecessary use statements

parent 6c335ee6
......@@ -15,7 +15,6 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use OCA\user_ldap\lib\user\User;
use OCA\User_LDAP\lib\user\Manager;
use OCA\User_LDAP\lib\User\DeletedUsersIndex;
use OCA\User_LDAP\Mapping\UserMapping;
use OCA\user_ldap\lib\Helper as LDAPHelper;
......
......@@ -9,25 +9,22 @@
namespace OCA\user_ldap\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use OCA\user_ldap\lib\user\DeletedUsersIndex;
use OCA\User_LDAP\lib\Connection;
use OCA\User_LDAP\Mapping\UserMapping;
use OCP\IDateTimeFormatter;
class ShowRemnants extends Command {
/** @var OCA\User_LDAP\lib\User\DeletedUsersIndex */
/** @var \OCA\User_LDAP\lib\User\DeletedUsersIndex */
protected $dui;
/** @var OCP\IDateTimeFormatter */
/** @var \OCP\IDateTimeFormatter */
protected $dateFormatter;
/**
* @param OCA\user_ldap\lib\user\DeletedUsersIndex $dui
* @param OCP\IDateTimeFormatter $dateFormatter
*/
public function __construct(DeletedUsersIndex $dui, IDateTimeFormatter $dateFormatter) {
$this->dui = $dui;
......
......@@ -191,7 +191,7 @@ class CleanUp extends \OC\BackgroundJob\TimedJob {
* @return int
*/
private function getOffset() {
return $this->ocConfig->getAppValue('user_ldap', 'cleanUpJobOffset', 0);
return intval($this->ocConfig->getAppValue('user_ldap', 'cleanUpJobOffset', 0));
}
/**
......
......@@ -67,7 +67,7 @@ class OfflineUser {
*/
protected $db;
/**
* @var OCA\User_LDAP\Mapping\UserMapping
* @var \OCA\User_LDAP\Mapping\UserMapping
*/
protected $mapping;
......
......@@ -68,7 +68,7 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
* Check if the password is correct
* @param string $uid The username
* @param string $password The password
* @return boolean
* @return false|string
*
* Check if the password is correct without logging in the user
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment