Completed
Push — issues/1038 ( 7b5150...f8dacd )
by Ravinder
20:43
created
includes/admin/class-admin-notices.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	 *
39 39
 	 * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference.
40 40
 	 *
41
-	 * @return bool
41
+	 * @return false|null
42 42
 	 */
43 43
 	public function give_admin_bar_menu( $wp_admin_bar ) {
44 44
 
Please login to merge, or discard this patch.
includes/admin/class-give-settings.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 *
88 88
 	 * @param $url
89 89
 	 *
90
-	 * @return mixed
90
+	 * @return string
91 91
 	 */
92 92
 	public function give_update_cmb_meta_box_url( $url ) {
93 93
 		//Path to Give's CMB
@@ -873,7 +873,7 @@  discard block
 block discarded – undo
873 873
  * @since 1.0
874 874
  *
875 875
  * @param string          $key   The Key to update
876
- * @param string|bool|int $value The value to set the key to
876
+ * @param integer $value The value to set the key to
877 877
  *
878 878
  * @return boolean True if updated, false if not.
879 879
  */
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
  * @since      1.3.5
977 977
  *
978 978
  * @param $array
979
- * @param $position |int|string Expects an array key or 'id' of the settings field to appear after
979
+ * @param string $position |int|string Expects an array key or 'id' of the settings field to appear after
980 980
  * @param $insert   |array a valid array of options to insert
981 981
  *
982 982
  * @return array
Please login to merge, or discard this patch.
includes/admin/reporting/graphing.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -587,7 +587,7 @@
 block discarded – undo
587 587
  * selected date-range (if any)
588 588
  *
589 589
  * @since 1.0
590
- * @return array
590
+ * @return integer|null
591 591
  */
592 592
 function give_get_report_dates() {
593 593
 	$dates = array();
Please login to merge, or discard this patch.
admin/reporting/tools/class-give-tools-delete-test-transactions.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 $wpdb;
Please login to merge, or discard this patch.
includes/admin/reporting/tools/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/reporting/tools/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.
admin/reporting/tools/class-give-tools-recount-single-customer-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
 
Please login to merge, or discard this patch.
includes/admin/system-info.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
  *
45 45
  * @since: 1.4
46 46
  *
47
- * @return bool
47
+ * @return boolean|null
48 48
  */
49 49
 function give_allow_sessions_for_sysinfo() {
50 50
 	if ( is_admin() && ( isset( $_GET['page'] ) && isset( $_GET['tab'] ) ) && ( $_GET['tab'] == 'system_info' && $_GET['page'] == 'give-settings' ) ) {
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
@@ -890,7 +890,7 @@  discard block
 block discarded – undo
890 890
 	 * @access public
891 891
 	 *
892 892
 	 * @param  string $meta_key   Metadata name. Default is empty.
893
-	 * @param  mixed  $meta_value Metadata value.
893
+	 * @param  string  $meta_value Metadata value.
894 894
 	 * @param  bool   $unique     Optional. Whether the same key should not be added. Default is false.
895 895
 	 *
896 896
 	 * @return bool               False for failure. True for success.
@@ -922,7 +922,7 @@  discard block
 block discarded – undo
922 922
 	 * @access public
923 923
 	 *
924 924
 	 * @param  string $meta_key   Metadata name. Default is empty.
925
-	 * @param  mixed  $meta_value Optional. Metadata value. Default is empty.
925
+	 * @param  string  $meta_value Optional. Metadata value. Default is empty.
926 926
 	 *
927 927
 	 * @return bool               False for failure. True for success.
928 928
 	 */
Please login to merge, or discard this patch.