Completed
Push — add-helm-chart ( 4f6178...a303dc )
by Ilia
26:53
created
mod/wet4/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1744,7 +1744,7 @@
 block discarded – undo
1744 1744
  *
1745 1745
  * @author Ethan Wallace
1746 1746
  * @param string $desc Preview text from the discussion.
1747
- * @return string HTML to create embeded video
1747
+ * @return string[] HTML to create embeded video
1748 1748
  */
1749 1749
 function embed_discussion_river($desc)
1750 1750
 {
Please login to merge, or discard this patch.
mod/embed_extender/lib/embedvideo.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
  *
163 163
  * @param $width
164 164
  * @param $height
165
- * @param $toolbar_height
165
+ * @param integer $toolbar_height
166 166
  */
167 167
 function videoembed_calc_size(&$width, &$height, $aspect_ratio, $toolbar_height) {
168 168
 	// set video width and height
@@ -315,6 +315,8 @@  discard block
 block discarded – undo
315 315
  * parse youtu.be url
316 316
  *
317 317
  * @param string $url
318
+ * @param integer $guid
319
+ * @param integer $videowidth
318 320
  * @return string youtube.com/embed/hash
319 321
  */
320 322
 function videoembed_youtube_shortener_parse_url($url, $guid, $videowidth) {
Please login to merge, or discard this patch.
mod/thewire_images/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
  *	Download an attachment: thewire_image/download/<guid>/<title>
83 83
  *
84 84
  * @param array $page From the page_handler function
85
- * @return bool
85
+ * @return boolean|null
86 86
  */
87 87
 function thewire_image_page_handler($page) {
88 88
 	
Please login to merge, or discard this patch.
mod/gcforums/start.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -606,6 +606,10 @@
 block discarded – undo
606 606
 
607 607
 
608 608
 /// recursively go through the nested forums to create the breadcrumb
609
+/**
610
+ * @param integer $forum_guid
611
+ * @param integer $recurse_forum_guid
612
+ */
609 613
 function assemble_nested_forums($breadcrumb, $forum_guid, $recurse_forum_guid) {
610 614
 	$lang = get_current_language();
611 615
 	$entity = get_entity($recurse_forum_guid);
Please login to merge, or discard this patch.
mod/pleio/classes/ModPleio/AccessRequest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -69,6 +69,10 @@
 block discarded – undo
69 69
         return delete_data("DELETE FROM pleio_request_access WHERE id = {$this->id}");
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $subject
74
+     * @param string $body
75
+     */
72 76
     private function sendEmail($subject, $body, $params = null) {
73 77
         $site = elgg_get_site_entity();
74 78
 
Please login to merge, or discard this patch.
mod/pleio/classes/ModPleio/Helpers.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -2,6 +2,10 @@
 block discarded – undo
2 2
 namespace ModPleio;
3 3
 
4 4
 class Helpers {
5
+
6
+    /**
7
+     * @return string
8
+     */
5 9
     public static function generateUsername($username) {
6 10
         $hidden = access_show_hidden_entities(true);
7 11
 
Please login to merge, or discard this patch.
mod/gc_mobile_api/models/wire.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
 	false
110 110
 );
111 111
 
112
+/**
113
+ * @param ElggUser $user_entity
114
+ */
112 115
 function wires_foreach($wire_posts, $user_entity)
113 116
 {
114 117
 	foreach ($wire_posts as $wire_post) {
Please login to merge, or discard this patch.
mod/thewire/start.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
  * @param int    $access_id   Public/private etc
259 259
  * @param int    $parent_guid Parent post guid (if any)
260 260
  * @param string $method      The method (default: 'site')
261
- * @return guid or false if failure
261
+ * @return integer or false if failure
262 262
  */
263 263
 function thewire_save_post($text, $userid, $access_id, $parent_guid = 0, $method = "site") {
264 264
 	$post = new ElggObject();
@@ -473,7 +473,7 @@  discard block
 block discarded – undo
473 473
 /**
474 474
  * Runs unit tests for the wire
475 475
  *
476
- * @return array
476
+ * @return string[]
477 477
  */
478 478
 function thewire_test($hook, $type, $value, $params) {
479 479
 	global $CONFIG;
Please login to merge, or discard this patch.
mod/phpmailer/start.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
  * @param string $subject The subject of the message.
30 30
  * @param string $message The message body
31 31
  * @param array $params Optional parameters (not used)
32
- * @return bool
32
+ * @return null|boolean
33 33
  */
34 34
 function phpmailer_notify_handler(ElggEntity $from, ElggUser $to, $subject, $message, array $params = NULL) {
35 35
 
@@ -72,6 +72,7 @@  discard block
 block discarded – undo
72 72
  * This is a stupid function pulled from original Elgg code
73 73
  *
74 74
  * @param  ElggEntity The entity sending the message
75
+ * @param ElggEntity $from
75 76
  * @return string with email address
76 77
  */
77 78
 function phpmailer_extract_from_email($from) {
@@ -98,8 +99,6 @@  discard block
 block discarded – undo
98 99
 /**
99 100
  * Send an email using phpmailer
100 101
  *
101
- * @param string $from       From address
102
- * @param string $from_name  From name
103 102
  * @param string $to         To address
104 103
  * @param string $to_name    To name
105 104
  * @param string $subject    The subject of the message.
@@ -110,7 +109,7 @@  discard block
 block discarded – undo
110 109
  * @param array  $files      Array of file descriptor arrays, each file array
111 110
  *                           consists of full path and name
112 111
  * @param array  $params     Additional parameters
113
- * @return bool
112
+ * @return null|boolean
114 113
  */
115 114
 function phpmailer_send($to, $to_name, $subject, $body, array $bcc = NULL, $html = true, array $files = NULL, array $params = NULL, $image = NULL) {
116 115
 
@@ -255,6 +254,9 @@  discard block
 block discarded – undo
255 254
 
256 255
 
257 256
 
257
+/**
258
+ * @param string $type
259
+ */
258 260
 function phpmailer_logging($errMess, $errStack, $type, $errType) {
259 261
 	// logging mechanism
260 262
 	if (elgg_is_active_plugin('wet4')) {
Please login to merge, or discard this patch.