@@ -304,7 +304,6 @@ |
||
| 304 | 304 | * @access public |
| 305 | 305 | * @since 1.0 |
| 306 | 306 | * |
| 307 | - * @param array $item Contains all the data of the discount code |
|
| 308 | 307 | * @param string $column_name The name of the column |
| 309 | 308 | * |
| 310 | 309 | * @return string Column Name |
@@ -50,7 +50,7 @@ |
||
| 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; |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | * |
| 153 | 153 | * @since 1.0 |
| 154 | 154 | * |
| 155 | - * @param $key |
|
| 155 | + * @param string $key |
|
| 156 | 156 | * |
| 157 | 157 | * @return mixed |
| 158 | 158 | * @throws Exception |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | * |
| 180 | 180 | * @param array $data Array of attributes for a donation form |
| 181 | 181 | * |
| 182 | - * @return mixed false if data isn't passed and class not instantiated for creation, or New Form ID |
|
| 182 | + * @return boolean false if data isn't passed and class not instantiated for creation, or New Form ID |
|
| 183 | 183 | */ |
| 184 | 184 | public function create( $data = array() ) { |
| 185 | 185 | |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * @param array $log_data Log entry data |
| 215 | 215 | * @param array $log_meta Log entry meta |
| 216 | 216 | * |
| 217 | - * @return bool True if successful, false otherwise |
|
| 217 | + * @return boolean|null True if successful, false otherwise |
|
| 218 | 218 | */ |
| 219 | 219 | public function update_log( $log_data = array(), $log_meta = array() ) { |
| 220 | 220 | |
@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | * @param string $title |
| 393 | 393 | * @param string $message |
| 394 | 394 | * @param int $parent |
| 395 | - * @param null $type |
|
| 395 | + * @param string $type |
|
| 396 | 396 | * |
| 397 | 397 | * @global $give_logs GIVE Logs Object |
| 398 | 398 | * |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | * |
| 294 | 294 | * @param int $payment_id A given payment |
| 295 | 295 | * |
| 296 | - * @return mixed void|false |
|
| 296 | + * @return false|null void|false |
|
| 297 | 297 | */ |
| 298 | 298 | public function __construct( $payment_id = false ) { |
| 299 | 299 | |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | * |
| 362 | 362 | * @param string $name The attribute to get |
| 363 | 363 | * |
| 364 | - * @return boolean If the item is set or not |
|
| 364 | + * @return boolean|null If the item is set or not |
|
| 365 | 365 | */ |
| 366 | 366 | public function __isset( $name ) { |
| 367 | 367 | if ( property_exists( $this, $name ) ) { |
@@ -1149,7 +1149,7 @@ discard block |
||
| 1149 | 1149 | * |
| 1150 | 1150 | * @param string $note The note to add |
| 1151 | 1151 | * |
| 1152 | - * @return void |
|
| 1152 | + * @return false|null |
|
| 1153 | 1153 | */ |
| 1154 | 1154 | public function add_note( $note = false ) { |
| 1155 | 1155 | // Bail if no note specified |
@@ -607,7 +607,7 @@ discard block |
||
| 607 | 607 | * @param int $year Year |
| 608 | 608 | * @param int $hour Hour |
| 609 | 609 | * |
| 610 | - * @return int $earnings Earnings |
|
| 610 | + * @return double $earnings Earnings |
|
| 611 | 611 | */ |
| 612 | 612 | function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) { |
| 613 | 613 | |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | * |
| 907 | 907 | * @param int $payment_id Payment ID |
| 908 | 908 | * |
| 909 | - * @return array $user_info User Info Meta Values |
|
| 909 | + * @return string $user_info User Info Meta Values |
|
| 910 | 910 | */ |
| 911 | 911 | function give_get_payment_meta_user_info( $payment_id ) { |
| 912 | 912 | $payment = new Give_Payment( $payment_id ); |
@@ -922,7 +922,7 @@ discard block |
||
| 922 | 922 | * |
| 923 | 923 | * @param int $payment_id Payment ID |
| 924 | 924 | * |
| 925 | - * @return int $form_id |
|
| 925 | + * @return string $form_id |
|
| 926 | 926 | */ |
| 927 | 927 | function give_get_payment_form_id( $payment_id ) { |
| 928 | 928 | $payment = new Give_Payment( $payment_id ); |
@@ -968,7 +968,7 @@ discard block |
||
| 968 | 968 | * |
| 969 | 969 | * @param int $payment_id Payment ID |
| 970 | 970 | * |
| 971 | - * @return string $user_id User ID |
|
| 971 | + * @return integer $user_id User ID |
|
| 972 | 972 | */ |
| 973 | 973 | function give_get_payment_user_id( $payment_id ) { |
| 974 | 974 | $payment = new Give_Payment( $payment_id ); |
@@ -983,7 +983,7 @@ discard block |
||
| 983 | 983 | * |
| 984 | 984 | * @param int $payment_id Payment ID |
| 985 | 985 | * |
| 986 | - * @return string $customer_id Customer ID |
|
| 986 | + * @return integer $customer_id Customer ID |
|
| 987 | 987 | */ |
| 988 | 988 | function give_get_payment_customer_id( $payment_id ) { |
| 989 | 989 | $payment = new Give_Payment( $payment_id ); |
@@ -1580,7 +1580,7 @@ discard block |
||
| 1580 | 1580 | * @param array $where |
| 1581 | 1581 | * @param object $wp_comment_query WordPress Comment Query Object |
| 1582 | 1582 | * |
| 1583 | - * @return array $where |
|
| 1583 | + * @return string $where |
|
| 1584 | 1584 | */ |
| 1585 | 1585 | function give_hide_payment_notes_from_feeds( $where, $wp_comment_query ) { |
| 1586 | 1586 | global $wpdb; |
@@ -50,7 +50,7 @@ |
||
| 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; |
@@ -50,7 +50,7 @@ |
||
| 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; |
@@ -50,7 +50,7 @@ |
||
| 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; |