Completed
Pull Request — master (#986)
by Rami
20:36
created
includes/class-give-cli-commands.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -713,7 +713,7 @@
 block discarded – undo
713 713
 	 * @param	bool   $colon   Check if add colon between heading and message.
714 714
 	 * @param	string $color   Heading color.
715 715
 	 *
716
-	 * @return	mixed
716
+	 * @return	string
717 717
 	 */
718 718
 	private function color_message( $heading, $message = '', $colon = true, $color = 'g' ) {
719 719
 	    // Add colon.
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @param  array  $args An array of form arguments.
23 23
  *
24
- * @return string Donation form.
24
+ * @return false|null Donation form.
25 25
  */
26 26
 function give_get_donation_form( $args = array() ) {
27 27
 
@@ -1577,7 +1577,7 @@  discard block
 block discarded – undo
1577 1577
  * @param  int   $form_id The form ID.
1578 1578
  * @param  array $args    An array of form arguments.
1579 1579
  *
1580
- * @return mixed
1580
+ * @return boolean
1581 1581
  */
1582 1582
 function give_show_goal_progress( $form_id, $args ) {
1583 1583
 
Please login to merge, or discard this patch.
includes/class-give-license-handler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 		 *
181 181
 		 * @access  private
182 182
 		 * @global  array $give_options
183
-		 * @return  bool
183
+		 * @return  false|null
184 184
 		 */
185 185
 		public function auto_updater() {
186 186
 
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
 		 * @since  1.7
768 768
 		 * @access private
769 769
 		 *
770
-		 * @return void|bool
770
+		 * @return false|null
771 771
 		 */
772 772
 		private function __remove_license_key_from_subscriptions(){
773 773
 			$subscriptions = get_option( 'give_subscriptions', array() );
Please login to merge, or discard this patch.
includes/formatting.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
  * @param $field_args
226 226
  * @param $field
227 227
  *
228
- * @return bool
228
+ * @return false|null
229 229
  */
230 230
 function give_format_admin_multilevel_amount( $field_args, $field ) {
231 231
 
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
  * @param   array  $field_args
376 376
  * @param   object $field
377 377
  *
378
- * @return mixed
378
+ * @return string
379 379
  */
380 380
 function give_sanitize_thousand_separator( $value, $field_args, $field ){
381 381
     return stripslashes( $value );
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
  * @param   array  $field_args
409 409
  * @param   object $field
410 410
  *
411
- * @return  mixed
411
+ * @return  string
412 412
  */
413 413
 function give_sanitize_price_field_value( $value, $field_args, $field ){
414 414
     return give_sanitize_amount( $value );
Please login to merge, or discard this patch.