From 6b6147dafd19965856b650cafe321c7347831992 Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@owncloud.com>
Date: Thu, 20 Nov 2014 18:03:47 +0100
Subject: [PATCH] phpdoc and mixed up letters

---
 apps/user_ldap/lib/access.php | 1 +
 apps/user_ldap/lib/wizard.php | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 3a118891f4..a0ec64b3f6 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -1171,6 +1171,7 @@ class Access extends LDAPUtility implements user\IUserTools {
 
 	/**
 	 * returns the filter used for counting users
+	 * @return string
 	 */
 	public function getFilterForUserCount() {
 		$filter = $this->combineFilterWithAnd(array(
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 2f8d97c89d..578a920f00 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -158,6 +158,7 @@ class Wizard extends LDAPUtility {
 	 * detects the display name attribute. If a setting is already present that
 	 * returns at least one hit, the detection will be canceled.
 	 * @return WizardResult|bool
+	 * @throws \Exception
 	 */
 	public function detectUserDisplayNameAttribute() {
 		if(!$this->checkRequirements(array('ldapHost',
@@ -192,7 +193,7 @@ class Wizard extends LDAPUtility {
 			}
 		};
 
-		throw new \Exception(self::$t->l('Could not detect user display name attribute. Please specify it yourself in advanced ldap settings.'));
+		throw new \Exception(self::$l->t('Could not detect user display name attribute. Please specify it yourself in advanced ldap settings.'));
 	}
 
 	/**
-- 
GitLab