diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-05-11 15:17:27 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-05-11 15:17:27 +0200 |
commit | fc8be5abc3e51c99b9995b9bbd0f08d00470112f (patch) | |
tree | 050dc1237a3f626116ac3e07ee0ba37cdb85fb57 /apps/user_ldap/lib/wizardresult.php | |
parent | b6d76e9985105a245daf63f60b47e82df283019d (diff) | |
download | nextcloud-server-fc8be5abc3e51c99b9995b9bbd0f08d00470112f.tar.gz nextcloud-server-fc8be5abc3e51c99b9995b9bbd0f08d00470112f.zip |
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.
Diffstat (limited to 'apps/user_ldap/lib/wizardresult.php')
-rw-r--r-- | apps/user_ldap/lib/wizardresult.php | 13 |
1 files changed, 13 insertions, 0 deletions
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; |