Passed
Push — master ( b12420...89ca6f )
by Tomasz
05:10
created
core/User.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * user is a federation administrator of *any* federation. When given a parameter (ISO shortname of federation), it checks
81 81
      * if the user administers this particular federation.
82 82
      * 
83
-     * @param string $federation optional: federation to be checked
83
+     * @param integer $federation optional: federation to be checked
84 84
      * @return boolean TRUE if the user is federation admin, FALSE if not 
85 85
      */
86 86
     public function isFederationAdmin($federation = 0) {
@@ -124,6 +124,9 @@  discard block
 block discarded – undo
124 124
         return FALSE;
125 125
     }
126 126
 
127
+    /**
128
+     * @param string $content
129
+     */
127 130
     public function sendMailToUser($subject, $content) {
128 131
         $mailaddr = $this->getAttributes("user:email");
129 132
         if (count($mailaddr) == 0) { // we don't know user's mail address
Please login to merge, or discard this patch.