Completed
Push — add/vr-shortcode ( 271979...022ee9 )
by
unknown
26:28 queued 20:24
created
locales.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
 		return $numbers;
43 43
 	}
44 44
 
45
+	/**
46
+	 * @param integer $number
47
+	 */
45 48
 	public function index_for_number( $number ) {
46 49
 		if ( !isset( $this->_index_for_number ) ) {
47 50
 			$gettext = new Gettext_Translations;
@@ -2014,6 +2017,9 @@  discard block
 block discarded – undo
2014 2017
 		return isset( $instance->locales[ $slug ] )? $instance->locales[ $slug ] : null;
2015 2018
 	}
2016 2019
 
2020
+	/**
2021
+	 * @param string $field_name
2022
+	 */
2017 2023
 	public static function by_field( $field_name, $field_value ) {
2018 2024
 		$instance = GP_Locales::instance();
2019 2025
 		$result   = false;
Please login to merge, or discard this patch.
modules/contact-form/grunion-contact-form.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1004,7 +1004,6 @@  discard block
 block discarded – undo
1004 1004
 	 * Turn on printing of grunion.css stylesheet
1005 1005
 	 * @see ::style()
1006 1006
 	 * @internal
1007
-	 * @param bool $style
1008 1007
 	 */
1009 1008
 	static function _style_on() {
1010 1009
 		return self::style( true );
@@ -1116,6 +1115,9 @@  discard block
 block discarded – undo
1116 1115
 		return $r;
1117 1116
 	}
1118 1117
 
1118
+	/**
1119
+	 * @param Grunion_Contact_Form $form
1120
+	 */
1119 1121
 	static function success_message( $feedback_id, $form ) {
1120 1122
 		$r_success_message = '';
1121 1123
 
@@ -1192,7 +1194,7 @@  discard block
 block discarded – undo
1192 1194
 	 *
1193 1195
 	 * @param array $attributes Key => Value pairs as parsed by shortcode_parse_atts()
1194 1196
 	 * @param string|null $content The shortcode's inner content: [contact-field]$content[/contact-field]
1195
-	 * @return HTML for the contact form field
1197
+	 * @return string for the contact form field
1196 1198
 	 */
1197 1199
 	static function parse_contact_field( $attributes, $content ) {
1198 1200
 		// Don't try to parse contact form fields if not inside a contact form
Please login to merge, or discard this patch.
_inc/lib/icalendar-reader.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -699,8 +699,7 @@  discard block
 block discarded – undo
699 699
 	 * Render the events
700 700
 	 *
701 701
 	 * @param string $url (default: '')
702
-	 * @param string $context (default: 'widget') or 'shortcode'
703
-	 * @return mixed bool|string false on failure, rendered HTML string on success.
702
+	 * @return false|string bool|string false on failure, rendered HTML string on success.
704 703
 	 */
705 704
 	public function render( $url = '', $args = array() ) {
706 705
 
@@ -857,8 +856,7 @@  discard block
 block discarded – undo
857 856
  * Wrapper function for iCalendarReader->render()
858 857
  *
859 858
  * @param string $url (default: '')
860
- * @param string $context (default: 'widget') or 'shortcode'
861
- * @return mixed bool|string false on failure, rendered HTML string on success.
859
+ * @return false|string bool|string false on failure, rendered HTML string on success.
862 860
  */
863 861
 function icalendar_render_events( $url = '', $args = array() ) {
864 862
 	$ical = new iCalendarReader();
Please login to merge, or discard this patch.
modules/protect.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@
 block discarded – undo
302 302
 	 *
303 303
 	 * NOTE: servers that do not support inet_pton cannot support ipv6.
304 304
 	 *
305
-	 * @param $ip
305
+	 * @param string $ip
306 306
 	 * @param $range_low
307 307
 	 * @param $range_high
308 308
 	 *
Please login to merge, or discard this patch.
modules/sharedaddy/recaptchalib.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@  discard block
 block discarded – undo
211 211
 
212 212
 /* Mailhide related code */
213 213
 
214
+/**
215
+ * @param string $ky
216
+ */
214 217
 function _recaptcha_aes_encrypt($val,$ky) {
215 218
 	if (! function_exists ("mcrypt_encrypt")) {
216 219
 		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
@@ -222,6 +225,9 @@  discard block
 block discarded – undo
222 225
 }
223 226
 
224 227
 
228
+/**
229
+ * @param null|string $x
230
+ */
225 231
 function _recaptcha_mailhide_urlbase64 ($x) {
226 232
 	return strtr(base64_encode ($x), '+/', '-_');
227 233
 }
Please login to merge, or discard this patch.
modules/sharedaddy/sharing-sources.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
 		return $this->id;
30 30
 	}
31 31
 
32
+	/**
33
+	 * @return string
34
+	 */
32 35
 	public function get_share_url( $post_id ) {
33 36
 		return apply_filters( 'sharing_permalink', get_permalink( $post_id ), $post_id, $this->id );
34 37
 	}
@@ -172,6 +175,9 @@  discard block
 block discarded – undo
172 175
 		do_action( 'sharing_bump_stats', array( 'service' => $this, 'post' => $post ) );
173 176
 	}
174 177
 
178
+	/**
179
+	 * @param string $name
180
+	 */
175 181
 	public function js_dialog( $name, $params = array() ) {
176 182
 		if ( true !== $this->open_link_in_new )
177 183
 			return;
Please login to merge, or discard this patch.
modules/stats.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -196,6 +196,9 @@  discard block
 block discarded – undo
196 196
 	return $options;
197 197
 }
198 198
 
199
+/**
200
+ * @param string $option
201
+ */
199 202
 function stats_get_option( $option ) {
200 203
 	$options = stats_get_options();
201 204
 
@@ -1138,6 +1141,9 @@  discard block
 block discarded – undo
1138 1141
 	<?php
1139 1142
 }
1140 1143
 
1144
+/**
1145
+ * @param string $table
1146
+ */
1141 1147
 function stats_get_csv( $table, $args = null ) {
1142 1148
 	$defaults = array( 'end' => false, 'days' => false, 'limit' => 3, 'post_id' => false, 'summarize' => '' );
1143 1149
 
Please login to merge, or discard this patch.