Completed
Pull Request — master (#2513)
by
unknown
11:30
created
drupal/sites/default/boinc/modules/contrib/filefield/filefield.module 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -540,7 +540,7 @@
 block discarded – undo
540 540
  * @param $file
541 541
  *   A file object.
542 542
  * @return
543
- *   The URL of the icon image file, or FALSE if no icon could be found.
543
+ string|false   The URL of the icon image file, or FALSE if no icon could be found.
544 544
  */
545 545
 function filefield_icon_url($file) {
546 546
   module_load_include('inc', 'filefield', 'filefield.theme');
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/contrib/filefield/filefield_widget.inc 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
  * @param $account
152 152
  *   The user account object to calculate the file path for.
153 153
  * @return
154
- *   The files directory path, with any tokens replaced.
154
+ string   The files directory path, with any tokens replaced.
155 155
  */
156 156
 function filefield_widget_file_path($field, $account = NULL) {
157 157
   $account = isset($account) ? $account : $GLOBALS['user'];
Please login to merge, or discard this patch.
html/inc/user_util.inc 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
 // return true if the passwd hash (old format)
37 37
 // matches the user's passwd hash (possibly new format)
38 38
 //
39
+/**
40
+ * @param string $passwd_hash
41
+ */
39 42
 function check_passwd_hash($user, $passwd_hash) {
40 43
     if (password_verify($passwd_hash, $user->passwd_hash)) {
41 44
         // on valid login, rehash password to upgrade hash overtime
Please login to merge, or discard this patch.