Completed
Push — add-helm-chart ( 4f6178...a303dc )
by Ilia
26:53
created
engine/classes/Elgg/ActionsService.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 	/**
30 30
 	 * @see action
31 31
 	 * @access private
32
+	 * @param string $action
32 33
 	 */
33 34
 	public function execute($action, $forwarder = "") {
34 35
 		$action = rtrim($action, '/');
@@ -91,6 +92,7 @@  discard block
 block discarded – undo
91 92
 	/**
92 93
 	 * @see elgg_register_action
93 94
 	 * @access private
95
+	 * @param string $action
94 96
 	 */
95 97
 	public function register($action, $filename = "", $access = 'logged_in') {
96 98
 		// plugins are encouraged to call actions with a trailing / to prevent 301
@@ -117,6 +119,7 @@  discard block
 block discarded – undo
117 119
 	/**
118 120
 	 * @see elgg_unregister_action
119 121
 	 * @access private
122
+	 * @param string $action
120 123
 	 */
121 124
 	public function unregister($action) {
122 125
 		if (isset($this->actions[$action])) {
@@ -225,6 +228,7 @@  discard block
 block discarded – undo
225 228
 	/**
226 229
 	 * @see action_gatekeeper
227 230
 	 * @access private
231
+	 * @param string $action
228 232
 	 */
229 233
 	public function gatekeeper($action) {
230 234
 		if ($action === 'login') {
@@ -294,6 +298,7 @@  discard block
 block discarded – undo
294 298
 	/**
295 299
 	 * @see elgg_action_exists
296 300
 	 * @access private
301
+	 * @param string $action
297 302
 	 */
298 303
 	public function exists($action) {
299 304
 		return (isset($this->actions[$action]) && file_exists($this->actions[$action]['file']));
@@ -302,6 +307,9 @@  discard block
 block discarded – undo
302 307
 	/**
303 308
 	 * @see ajax_forward_hook
304 309
 	 * @access private
310
+	 * @param string $hook
311
+	 * @param string $reason
312
+	 * @param string $return
305 313
 	 */
306 314
 	public function ajaxForwardHook($hook, $reason, $return, $params) {
307 315
 		if (elgg_is_xhr()) {
Please login to merge, or discard this patch.
engine/classes/Elgg/AttributeLoader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	 * Get primary attributes missing that are missing
132 132
 	 *
133 133
 	 * @param \stdClass $row Database row
134
-	 * @return array
134
+	 * @return boolean
135 135
 	 */
136 136
 	protected function isMissingPrimaries($row) {
137 137
 		return array_diff(self::$primary_attr_names, array_keys($row)) !== array();
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 	 * Get secondary attributes that are missing
142 142
 	 *
143 143
 	 * @param \stdClass $row Database row
144
-	 * @return array
144
+	 * @return boolean
145 145
 	 */
146 146
 	protected function isMissingSecondaries($row) {
147 147
 		return array_diff($this->secondary_attr_names, array_keys($row)) !== array();
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/Annotations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 *
34 34
 	 * @param int $id The id of the annotation object being retrieved.
35 35
 	 *
36
-	 * @return \ElggAnnotation|false
36
+	 * @return \ElggExtender
37 37
 	 */
38 38
 	function get($id) {
39 39
 		return _elgg_get_metastring_based_object_from_id($id, 'annotation');
Please login to merge, or discard this patch.
mod/contactform/include/class.phpmailer.php 1 patch
Doc Comments   +23 added lines, -1 removed lines patch added patch discarded remove patch
@@ -426,6 +426,8 @@  discard block
 block discarded – undo
426 426
   /**
427 427
    * Sends mail using the $Sendmail program.
428 428
    * @access private
429
+   * @param string $header
430
+   * @param string $body
429 431
    * @return bool
430 432
    */
431 433
   function SendmailSend($header, $body) {
@@ -457,6 +459,8 @@  discard block
 block discarded – undo
457 459
   /**
458 460
    * Sends mail using the PHP mail() function.
459 461
    * @access private
462
+   * @param string $header
463
+   * @param string $body
460 464
    * @return bool
461 465
    */
462 466
   function MailSend($header, $body) {
@@ -507,6 +511,8 @@  discard block
 block discarded – undo
507 511
    * Chris Ryan).  Returns bool.  Returns false if there is a
508 512
    * bad MAIL FROM, RCPT, or DATA input.
509 513
    * @access private
514
+   * @param string $header
515
+   * @param string $body
510 516
    * @return bool
511 517
    */
512 518
   function SmtpSend($header, $body) {
@@ -677,6 +683,7 @@  discard block
 block discarded – undo
677 683
   /**
678 684
    * Creates recipient headers.
679 685
    * @access private
686
+   * @param string $type
680 687
    * @return string
681 688
    */
682 689
   function AddrAppend($type, $addr) {
@@ -712,6 +719,8 @@  discard block
 block discarded – undo
712 719
    * automatically perform wrapping and for quoted-printable.
713 720
    * Original written by philippe.
714 721
    * @access private
722
+   * @param string $message
723
+   * @param integer $length
715 724
    * @return string
716 725
    */
717 726
   function WrapText($message, $length, $qp_mode = false) {
@@ -1040,6 +1049,9 @@  discard block
 block discarded – undo
1040 1049
   /**
1041 1050
    * Returns the start of a message boundary.
1042 1051
    * @access private
1052
+   * @param string $charSet
1053
+   * @param string $contentType
1054
+   * @param string $encoding
1043 1055
    */
1044 1056
   function GetBoundary($boundary, $charSet, $contentType, $encoding) {
1045 1057
     $result = '';
@@ -1094,6 +1106,10 @@  discard block
 block discarded – undo
1094 1106
    * @access private
1095 1107
    * @return string
1096 1108
    */
1109
+
1110
+  /**
1111
+   * @param string $name
1112
+   */
1097 1113
   function HeaderLine($name, $value) {
1098 1114
     return $name . ': ' . $value . $this->LE;
1099 1115
   }
@@ -1101,6 +1117,7 @@  discard block
 block discarded – undo
1101 1117
   /**
1102 1118
    * Returns a formatted mail line.
1103 1119
    * @access private
1120
+   * @param string $value
1104 1121
    * @return string
1105 1122
    */
1106 1123
   function TextLine($value) {
@@ -1259,6 +1276,7 @@  discard block
 block discarded – undo
1259 1276
   /**
1260 1277
    * Encode a header string to best of Q, B, quoted or none.
1261 1278
    * @access private
1279
+   * @param string $str
1262 1280
    * @return string
1263 1281
    */
1264 1282
   function EncodeHeader ($str, $position = 'text') {
@@ -1596,6 +1614,7 @@  discard block
 block discarded – undo
1596 1614
    * Adds the error message to the error container.
1597 1615
    * Returns void.
1598 1616
    * @access private
1617
+   * @param string $msg
1599 1618
    * @return void
1600 1619
    */
1601 1620
   function SetError($msg) {
@@ -1623,6 +1642,7 @@  discard block
 block discarded – undo
1623 1642
    * PHP 4.1.0+ as well as older versions.  Returns an empty string
1624 1643
    * if nothing is found.
1625 1644
    * @access private
1645
+   * @param string $varName
1626 1646
    * @return mixed
1627 1647
    */
1628 1648
   function ServerVar($varName) {
@@ -1663,6 +1683,7 @@  discard block
 block discarded – undo
1663 1683
   /**
1664 1684
    * Returns a message in the appropriate language.
1665 1685
    * @access private
1686
+   * @param string $key
1666 1687
    * @return string
1667 1688
    */
1668 1689
   function Lang($key) {
@@ -1708,6 +1729,7 @@  discard block
 block discarded – undo
1708 1729
   /**
1709 1730
    * Evaluates the message and returns modifications for inline images and backgrounds
1710 1731
    * @access public
1732
+   * @param string $message
1711 1733
    * @return $message
1712 1734
    */
1713 1735
   function MsgHTML($message,$basedir='') {
@@ -1745,7 +1767,7 @@  discard block
 block discarded – undo
1745 1767
   /**
1746 1768
    * Gets the mime type of the embedded or inline image
1747 1769
    * @access private
1748
-   * @return mime type of ext
1770
+   * @return string type of ext
1749 1771
    */
1750 1772
   function _mime_types($ext = '') {
1751 1773
     $mimes = array(
Please login to merge, or discard this patch.
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.