From fc8be5abc3e51c99b9995b9bbd0f08d00470112f Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 11 May 2014 15:17:27 +0200 Subject: Use proper PHPDoc and variable names in the LDAP lib My IDE was so sad about this that it marked the whole file in red and yellow and forced me to fix this. --- apps/user_ldap/lib/wizardresult.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'apps/user_ldap/lib/wizardresult.php') diff --git a/apps/user_ldap/lib/wizardresult.php b/apps/user_ldap/lib/wizardresult.php index 9e0936faa69..5ed16732ca0 100644 --- a/apps/user_ldap/lib/wizardresult.php +++ b/apps/user_ldap/lib/wizardresult.php @@ -28,10 +28,17 @@ class WizardResult { protected $options = array(); protected $markedChange = false; + /** + * @param $key + * @param $value + */ public function addChange($key, $value) { $this->changes[$key] = $value; } + /** + * + */ public function markChange() { $this->markedChange = true; } @@ -47,10 +54,16 @@ class WizardResult { $this->options[$key] = $values; } + /** + * @return bool + */ public function hasChanges() { return (count($this->changes) > 0 || $this->markedChange); } + /** + * @return array + */ public function getResultArray() { $result = array(); $result['changes'] = $this->changes; -- cgit v1.2.3