Passed
Push — delete_old_notif_mob ( 955a39...defe68 )
by
unknown
08:44
created
mod/contactform/include/fgcontactform.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -724,6 +724,9 @@
 block discarded – undo
724 724
         $this->message = $this->StripSlashes($_POST['message']);
725 725
     }
726 726
 
727
+    /**
728
+     * @param string $error
729
+     */
727 730
     function add_error($error)
728 731
     {
729 732
         array_push($this->errors,$error);
Please login to merge, or discard this patch.
mod/contactform/include/simple-captcha.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -80,6 +80,10 @@
 block discarded – undo
80 80
         }//else
81 81
         return $ret;
82 82
     }
83
+
84
+    /**
85
+     * @param string $answer
86
+     */
83 87
     function Md5CaptchaAnswer($answer)
84 88
     {
85 89
         return md5($this->GetKey().$answer);
Please login to merge, or discard this patch.
mod/cp_notifications/actions/cp_notifications/set_personal_subscription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
 /**
101 101
  * @param 	$user_guid user's guid
102
- * @return 	query for all the content that the user is associated with
102
+ * @return 	string for all the content that the user is associated with
103 103
  */
104 104
 function get_content($user_guid) {
105 105
 	$dbprefix = elgg_get_config('dbprefix');
Please login to merge, or discard this patch.
custom_index_widgets/views/default/widgets/latest_events_index/content.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -9,6 +9,11 @@
 block discarded – undo
9 9
 	require_once($CONFIG->pluginspath.'event_calendar/models/model.php');
10 10
 	
11 11
 	if(!function_exists('getLastDayOfMonth')){
12
+
13
+		/**
14
+		 * @param string $month
15
+		 * @param string $year
16
+		 */
12 17
 		function getLastDayOfMonth($month,$year) {
13 18
 			return idate('d', mktime(0, 0, 0, ($month + 1), 0, $year));
14 19
 		}
Please login to merge, or discard this patch.
mod/diagnostics/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
  * Recursively list through a directory tree producing a hash of all installed files
53 53
  *
54 54
  * @param starting dir $dir
55
- * @param buffer $buffer
55
+ * @param string $dir
56 56
  */
57 57
 function diagnostics_md5_dir($dir) {
58 58
 	$extensions_allowed = array('.php', '.js', '.css');
Please login to merge, or discard this patch.
mod/elgg_solr/lib/functions.php 1 patch
Doc Comments   +12 added lines, -3 removed lines patch added patch discarded remove patch
@@ -524,9 +524,11 @@  discard block
 block discarded – undo
524 524
 /**
525 525
  * Register a function to define specific configuration of an entity in solr
526 526
  * 
527
- * @param type $type - the entity type
528
- * @param type $subtype - the entity subtype
529
- * @param type $function - the function to call for updating an entity in solr
527
+ * @param string $type - the entity type
528
+ * @param type string - the entity subtype
529
+ * @param type string - the function to call for updating an entity in solr
530
+ * @param string $subtype
531
+ * @param string $function
530 532
  */
531 533
 function elgg_solr_register_solr_entity_type($type, $subtype, $function) {
532 534
 	$solr_entities = elgg_get_config('solr_entities');
@@ -779,6 +781,9 @@  discard block
 block discarded – undo
779 781
 	return true;
780 782
 }
781 783
 
784
+/**
785
+ * @param string $message
786
+ */
782 787
 function elgg_solr_debug_log($message) {
783 788
 	error_log($message);
784 789
 }
@@ -1020,6 +1025,10 @@  discard block
 block discarded – undo
1020 1025
 	return $stats;
1021 1026
 }
1022 1027
 
1028
+/**
1029
+ * @param integer $starttime
1030
+ * @param integer $endtime
1031
+ */
1023 1032
 function elgg_solr_get_system_count($options, $starttime, $endtime) {
1024 1033
 	$options['wheres'] = array(
1025 1034
 		"e.time_created >= {$starttime}",
Please login to merge, or discard this patch.
mod/embed_extender/lib/custom.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -8,6 +8,10 @@
 block discarded – undo
8 8
 	}
9 9
 
10 10
 	//Generic embed functions - Don�t touch here!
11
+
12
+	/**
13
+	 * @param string $guid
14
+	 */
11 15
 	function custom_videoembed_create_embed_object($url, $guid, $videowidth=0, $input) {
12 16
 		
13 17
 		if (!$input) {
Please login to merge, or discard this patch.
mod/embed_extender/lib/embed_extender.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -6,6 +6,10 @@
 block discarded – undo
6 6
 	return embed_extender_parser(' ' . $returnvalue . ' ', $view, $context);
7 7
 }
8 8
 
9
+/**
10
+ * @param string $input
11
+ * @param string|null $context
12
+ */
9 13
 function embed_extender_parser($input, $view, $context)
10 14
 {
11 15
 	$allowed_contexts = array('blog', 'messageboard', 'widgets', 'pages', 'bookmarks', 'file', 'event_calendar', 'photos', 'polls');
Please login to merge, or discard this patch.
mod/enhanced_user_search/lib/functions.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
    * @param string term   Search term
40 40
    * @param int    limit  Maximum number of results to return
41 41
    * @param int    offset Begin returning results starting from offset
42
+   * @param string $term
43
+   * @param integer $limit
44
+   * @param integer $offset
42 45
    *
43 46
    * @return array Query result set
44 47
    *               array(
@@ -175,6 +178,7 @@  discard block
 block discarded – undo
175 178
    *
176 179
    * @param string haystack String to search in
177 180
    * @param string term     String to search for in haystack
181
+   * @param string $term
178 182
    * @return boolean
179 183
    */
180 184
   private function isMatched($haystack, $term) {
Please login to merge, or discard this patch.