Completed
Push — issue/1572 ( df22d7...3ed7d3 )
by Ravinder
22:28 queued 02:25
created
includes/admin/EDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 	 * @uses api_request()
78 78
 	 *
79 79
 	 * @param array   $_transient_data Update array build by WordPress.
80
-	 * @return array Modified update array with custom plugin data.
80
+	 * @return stdClass Modified update array with custom plugin data.
81 81
 	 */
82 82
 	public function check_update( $_transient_data ) {
83 83
 
Please login to merge, or discard this patch.
includes/class-give-cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
 	 *
206 206
 	 * @param bool $force If set to true then all cached values will be delete instead of only expired
207 207
 	 *
208
-	 * @return bool
208
+	 * @return false|null
209 209
 	 */
210 210
 	public static function delete_all_expired( $force = false ) {
211 211
 		global $wpdb;
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/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.
includes/class-give-license-handler.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
 		 * @access public
484 484
 		 * @since  1.7
485 485
 		 *
486
-		 * @return bool|void
486
+		 * @return false|null
487 487
 		 */
488 488
 		public function weekly_license_check() {
489 489
 
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
 		 * @access public
537 537
 		 * @since  1.7
538 538
 		 *
539
-		 * @return bool|void
539
+		 * @return false|null
540 540
 		 */
541 541
 		public function weekly_subscription_check() {
542 542
 
@@ -617,7 +617,7 @@  discard block
 block discarded – undo
617 617
 		 * @access private
618 618
 		 * @since  1.7
619 619
 		 *
620
-		 * @return bool|void
620
+		 * @return false|null
621 621
 		 */
622 622
 		private function __single_subscription_check() {
623 623
 			// Do not fire if license key is not set.
@@ -829,7 +829,7 @@  discard block
 block discarded – undo
829 829
 		 * @access private
830 830
 		 * @since  1.7
831 831
 		 *
832
-		 * @return void|bool
832
+		 * @return false|null
833 833
 		 */
834 834
 		private function __remove_license_key_from_subscriptions() {
835 835
 			$subscriptions = get_option( 'give_subscriptions', array() );
@@ -928,7 +928,7 @@  discard block
 block discarded – undo
928 928
 		 * @param $plugin_data
929 929
 		 * @param $status
930 930
 		 *
931
-		 * @return bool
931
+		 * @return false|null
932 932
 		 */
933 933
 		public function plugin_page_notices( $plugin_file, $plugin_data, $status ) {
934 934
 			// Bailout.
@@ -957,7 +957,7 @@  discard block
 block discarded – undo
957 957
 		 *
958 958
 		 * @since  1.8.7
959 959
 		 * @access public
960
-		 * @return array
960
+		 * @return string
961 961
 		 */
962 962
 		public function license_state_message() {
963 963
 			$message_data = array();
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +5 added lines, -5 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
 
@@ -1470,7 +1470,7 @@  discard block
 block discarded – undo
1470 1470
  *
1471 1471
  * @param  int $form_id The form ID.
1472 1472
  *
1473
- * @return bool
1473
+ * @return false|null
1474 1474
  */
1475 1475
 function give_terms_agreement( $form_id ) {
1476 1476
 	$form_option = give_get_meta( $form_id, '_give_terms_option', true );
@@ -1647,7 +1647,7 @@  discard block
 block discarded – undo
1647 1647
  * @param  int   $form_id The form ID.
1648 1648
  * @param  array $args    An array of form arguments.
1649 1649
  *
1650
- * @return mixed
1650
+ * @return boolean
1651 1651
  */
1652 1652
 function give_show_goal_progress( $form_id, $args ) {
1653 1653
 
@@ -1667,7 +1667,7 @@  discard block
 block discarded – undo
1667 1667
  *
1668 1668
  * @since  1.8
1669 1669
  *
1670
- * @param  $form_id
1670
+ * @param  integer $form_id
1671 1671
  * @param  $args
1672 1672
  *
1673 1673
  * @return mixed|string
@@ -1708,7 +1708,7 @@  discard block
 block discarded – undo
1708 1708
  * @param  int   $form_id The form ID.
1709 1709
  * @param  array $args    An array of form arguments.
1710 1710
  *
1711
- * @return void|bool
1711
+ * @return false|null
1712 1712
  */
1713 1713
 function give_form_content( $form_id, $args ) {
1714 1714
 
Please login to merge, or discard this patch.
includes/admin/tools/data/class-give-tools-recount-all-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @since 1.5
51 51
 	 * @global object $wpdb Used to query the database using the WordPress
52 52
 	 *   Database API
53
-	 * @return array $data The data for the CSV file
53
+	 * @return boolean $data The data for the CSV file
54 54
 	 */
55 55
 	public function get_data() {
56 56
 		global $give_logs, $wpdb;
Please login to merge, or discard this patch.
includes/admin/tools/data/class-give-tools-recount-customer-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	 * @access public
50 50
 	 * @since 1.5
51 51
 	 *
52
-	 * @return array $data The data for the CSV file
52
+	 * @return boolean $data The data for the CSV file
53 53
 	 */
54 54
 	public function get_data() {
55 55
 
Please login to merge, or discard this patch.
includes/admin/tools/data/class-give-tools-recount-form-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 * @since 1.5
51 51
 	 * @global object $wpdb Used to query the database using the WordPress
52 52
 	 *   Database API
53
-	 * @return array $data The data for the CSV file
53
+	 * @return boolean $data The data for the CSV file
54 54
 	 */
55 55
 	public function get_data() {
56 56
 		global $give_logs, $wpdb;
Please login to merge, or discard this patch.