Completed
Push — master ( ace9ba...1ffdfe )
by Ravinder
12s
created
includes/admin/class-give-settings.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param $url
74 74
 	 *
75
-	 * @return mixed
75
+	 * @return string
76 76
 	 */
77 77
 	public function give_update_cmb_meta_box_url( $url ) {
78 78
 		// Path to Give's CMB
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
  * @since      1.3.5
936 936
  *
937 937
  * @param $array
938
- * @param $position |int|string Expects an array key or 'id' of the settings field to appear after
938
+ * @param string $position |int|string Expects an array key or 'id' of the settings field to appear after
939 939
  * @param $insert   |array a valid array of options to insert
940 940
  *
941 941
  * @return array
@@ -974,7 +974,7 @@  discard block
 block discarded – undo
974 974
  * @since 1.0
975 975
  *
976 976
  * @param array $field_arr
977
- * @param array $saved_values
977
+ * @param string|boolean $saved_values
978 978
  *
979 979
  * @return void
980 980
  */
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
  * @since  1.0
1010 1010
  *
1011 1011
  * @param  array $field_arr
1012
- * @param  array $saved_value
1012
+ * @param  string|boolean $saved_value
1013 1013
  *
1014 1014
  * @return void
1015 1015
  */
Please login to merge, or discard this patch.
includes/class-give-customer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -889,7 +889,7 @@  discard block
 block discarded – undo
889 889
 	 * @access public
890 890
 	 *
891 891
 	 * @param  string $meta_key Metadata name. Default is empty.
892
-	 * @param  mixed $meta_value Metadata value.
892
+	 * @param  string $meta_value Metadata value.
893 893
 	 * @param  bool $unique Optional. Whether the same key should not be added. Default is false.
894 894
 	 *
895 895
 	 * @return bool               False for failure. True for success.
@@ -921,7 +921,7 @@  discard block
 block discarded – undo
921 921
 	 * @access public
922 922
 	 *
923 923
 	 * @param  string $meta_key Metadata name. Default is empty.
924
-	 * @param  mixed $meta_value Optional. Metadata value. Default is empty.
924
+	 * @param  string $meta_value Optional. Metadata value. Default is empty.
925 925
 	 *
926 926
 	 * @return bool               False for failure. True for success.
927 927
 	 */
Please login to merge, or discard this patch.
includes/class-give-license-handler.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -487,7 +487,7 @@  discard block
 block discarded – undo
487 487
 		 * @access public
488 488
 		 * @since  1.7
489 489
 		 *
490
-		 * @return bool|void
490
+		 * @return false|null
491 491
 		 */
492 492
 		public function weekly_license_check() {
493 493
 
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
 		 * @access public
541 541
 		 * @since  1.7
542 542
 		 *
543
-		 * @return bool|void
543
+		 * @return false|null
544 544
 		 */
545 545
 		public function weekly_subscription_check() {
546 546
 
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
 		 * @access private
622 622
 		 * @since  1.7
623 623
 		 *
624
-		 * @return bool|void
624
+		 * @return false|null
625 625
 		 */
626 626
 		private function __single_subscription_check() {
627 627
 			// Do not fire if license key is not set.
@@ -833,7 +833,7 @@  discard block
 block discarded – undo
833 833
 		 * @access private
834 834
 		 * @since  1.7
835 835
 		 *
836
-		 * @return void|bool
836
+		 * @return false|null
837 837
 		 */
838 838
 		private function __remove_license_key_from_subscriptions() {
839 839
 			$subscriptions = get_option( 'give_subscriptions', array() );
@@ -932,7 +932,7 @@  discard block
 block discarded – undo
932 932
 		 * @param $plugin_data
933 933
 		 * @param $status
934 934
 		 *
935
-		 * @return bool
935
+		 * @return false|null
936 936
 		 */
937 937
 		public function plugin_page_notices( $plugin_file, $plugin_data, $status ) {
938 938
 			// Bailout.
@@ -954,7 +954,7 @@  discard block
 block discarded – undo
954 954
 		 *
955 955
 		 * @since  1.8.7
956 956
 		 * @access public
957
-		 * @return array
957
+		 * @return string
958 958
 		 */
959 959
 		public function license_state_message() {
960 960
 			$message_data = array();
Please login to merge, or discard this patch.
includes/payments/functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
  *
368 368
  * @since  1.0
369 369
  *
370
- * @param  int|bool $form_id Form ID (default: false).
370
+ * @param  boolean $form_id Form ID (default: false).
371 371
  * @param  int $payment_id Payment ID.
372 372
  *
373 373
  * @return void
@@ -691,7 +691,7 @@  discard block
 block discarded – undo
691 691
  * @param  int $year Year number. Default is null.
692 692
  * @param  int $hour Hour number. Default is null.
693 693
  *
694
- * @return int $earnings  Earnings
694
+ * @return double $earnings  Earnings
695 695
  */
696 696
 function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) {
697 697
 
@@ -997,7 +997,7 @@  discard block
 block discarded – undo
997 997
  *
998 998
  * @param int $payment_id Payment ID.
999 999
  *
1000
- * @return int $form_id Form ID.
1000
+ * @return string $form_id Form ID.
1001 1001
  */
1002 1002
 function give_get_payment_form_id( $payment_id ) {
1003 1003
 	$payment = new Give_Payment( $payment_id );
Please login to merge, or discard this patch.