@@ -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; |
@@ -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 $give_logs, $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 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * @since 1.5 |
58 | 58 | * @global object $wpdb Used to query the database using the WordPress |
59 | 59 | * Database API |
60 | - * @return array $data The data for the CSV file |
|
60 | + * @return boolean $data The data for the CSV file |
|
61 | 61 | */ |
62 | 62 | public function get_data() { |
63 | 63 | global $give_logs, $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 |
@@ -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 |
@@ -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 |