@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * |
| 66 | 66 | * @since 1.0 |
| 67 | 67 | * @uses Give_Session::get() |
| 68 | - * @return mixed array if errors are present, false if none found |
|
| 68 | + * @return string array if errors are present, false if none found |
|
| 69 | 69 | */ |
| 70 | 70 | function give_get_errors() { |
| 71 | 71 | return Give()->session->get( 'give_errors' ); |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | * |
| 183 | 183 | * @param array $data Array of attributes for a donation form |
| 184 | 184 | * |
| 185 | - * @return mixed false if data isn't passed and class not instantiated for creation, or New Form ID |
|
| 185 | + * @return boolean false if data isn't passed and class not instantiated for creation, or New Form ID |
|
| 186 | 186 | */ |
| 187 | 187 | public function create( $data = array() ) { |
| 188 | 188 | |
@@ -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,13 +392,13 @@ 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 | * |
| 399 | 399 | * @uses Give_Logging::add() |
| 400 | 400 | * |
| 401 | - * @return mixed ID of the new log entry |
|
| 401 | + * @return integer ID of the new log entry |
|
| 402 | 402 | */ |
| 403 | 403 | function give_record_log( $title = '', $message = '', $parent = 0, $type = null ) { |
| 404 | 404 | /* @var Give_Logging $give_logs */ |
@@ -175,10 +175,9 @@ |
||
| 175 | 175 | * @access public |
| 176 | 176 | * @since 1.0 |
| 177 | 177 | * |
| 178 | - * @param $key $_SESSION key |
|
| 179 | - * @param $value $_SESSION variable |
|
| 180 | 178 | * |
| 181 | - * @return mixed Session variable |
|
| 179 | + * @param string $key |
|
| 180 | + * @return string Session variable |
|
| 182 | 181 | */ |
| 183 | 182 | public function set( $key, $value ) { |
| 184 | 183 | |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | * @use give_get_price_thousand_separator Get thousand separator. |
| 164 | 164 | * |
| 165 | 165 | * @param string $amount formatted amount number. |
| 166 | - * @return float|string formatted amount number with large number names. |
|
| 166 | + * @return string formatted amount number with large number names. |
|
| 167 | 167 | */ |
| 168 | 168 | function give_human_format_large_amount( $amount ) { |
| 169 | 169 | |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | * @param $field_args |
| 221 | 221 | * @param $field |
| 222 | 222 | * |
| 223 | - * @return bool |
|
| 223 | + * @return false|null |
|
| 224 | 224 | */ |
| 225 | 225 | function give_format_admin_multilevel_amount( $field_args, $field ) { |
| 226 | 226 | |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | * @param array $field_args |
| 382 | 382 | * @param object $field |
| 383 | 383 | * |
| 384 | - * @return mixed |
|
| 384 | + * @return string |
|
| 385 | 385 | */ |
| 386 | 386 | function give_sanitize_thousand_separator( $value, $field_args, $field ){ |
| 387 | 387 | return $value; |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * Used to redirect a user back to the purchase |
| 157 | 157 | * page if there are errors present. |
| 158 | 158 | * |
| 159 | - * @param array $args |
|
| 159 | + * @param string $args |
|
| 160 | 160 | * |
| 161 | 161 | * @access public |
| 162 | 162 | * @since 1.0 |
@@ -690,7 +690,7 @@ discard block |
||
| 690 | 690 | * |
| 691 | 691 | * @param int $form_id ID number of the form to retrieve the minimum price for |
| 692 | 692 | * |
| 693 | - * @return mixed string|int Minimum price of the form |
|
| 693 | + * @return string string|int Minimum price of the form |
|
| 694 | 694 | */ |
| 695 | 695 | function give_get_form_minimum_price( $form_id = 0 ) { |
| 696 | 696 | |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | * |
| 338 | 338 | * @since 1.0 |
| 339 | 339 | * @uses Give()->session->get() |
| 340 | - * @return mixed array | false |
|
| 340 | + * @return string array | false |
|
| 341 | 341 | */ |
| 342 | 342 | function give_get_purchase_session() { |
| 343 | 343 | return Give()->session->get( 'give_purchase' ); |
@@ -695,9 +695,9 @@ discard block |
||
| 695 | 695 | /** |
| 696 | 696 | * Create SVG library function |
| 697 | 697 | * |
| 698 | - * @param $icon |
|
| 698 | + * @param string $icon |
|
| 699 | 699 | * |
| 700 | - * @return mixed |
|
| 700 | + * @return string |
|
| 701 | 701 | */ |
| 702 | 702 | function give_svg_icons( $icon ) { |
| 703 | 703 | |
@@ -754,7 +754,7 @@ discard block |
||
| 754 | 754 | * |
| 755 | 755 | * @param array $input A multi-dimensional array (record set) from which to pull |
| 756 | 756 | * a column of values. |
| 757 | - * @param mixed $columnKey The column of values to return. This value may be the |
|
| 757 | + * @param string $columnKey The column of values to return. This value may be the |
|
| 758 | 758 | * integer key of the column you wish to retrieve, or it |
| 759 | 759 | * may be the string key name for an associative array. |
| 760 | 760 | * @param mixed $indexKey (Optional.) The column to use as the index/keys for |
@@ -908,7 +908,7 @@ discard block |
||
| 908 | 908 | /** |
| 909 | 909 | * cal_days_in_month |
| 910 | 910 | * |
| 911 | - * @param $calendar |
|
| 911 | + * @param integer $calendar |
|
| 912 | 912 | * @param $month |
| 913 | 913 | * @param $year |
| 914 | 914 | * |