Completed
Pull Request — master (#517)
by Chris
15:12
created
includes/admin/class-admin-notices.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	 *
38 38
 	 * Display admin bar when active
39 39
 	 *
40
-	 * @return bool
40
+	 * @return false|null
41 41
 	 */
42 42
 	public function give_admin_bar_menu() {
43 43
 		global $wp_admin_bar;
Please login to merge, or discard this patch.
includes/admin/class-api-keys-table.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,6 @@  discard block
 block discarded – undo
81 81
 	 * @since  1.1
82 82
 	 *
83 83
 	 * @param array  $item        Contains all the data of the keys
84
-	 * @param string $column_name The name of the column
85 84
 	 *
86 85
 	 * @return string Column Name
87 86
 	 */
@@ -96,7 +95,6 @@  discard block
 block discarded – undo
96 95
 	 * @since  1.1
97 96
 	 *
98 97
 	 * @param array  $item        Contains all the data of the keys
99
-	 * @param string $column_name The name of the column
100 98
 	 *
101 99
 	 * @return string Column Name
102 100
 	 */
@@ -111,7 +109,6 @@  discard block
 block discarded – undo
111 109
 	 * @since  1.1
112 110
 	 *
113 111
 	 * @param array  $item        Contains all the data of the keys
114
-	 * @param string $column_name The name of the column
115 112
 	 *
116 113
 	 * @return string Column Name
117 114
 	 */
@@ -124,7 +121,7 @@  discard block
 block discarded – undo
124 121
 	 *
125 122
 	 * @access public
126 123
 	 * @since  1.1
127
-	 * @return void
124
+	 * @return string
128 125
 	 */
129 126
 	public function column_user( $item ) {
130 127
 
Please login to merge, or discard this patch.
includes/admin/EDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * @uses api_request()
68 68
      *
69 69
      * @param array   $_transient_data Update array build by WordPress.
70
-     * @return array Modified update array with custom plugin data.
70
+     * @return stdClass Modified update array with custom plugin data.
71 71
      */
72 72
     function check_update( $_transient_data ) {
73 73
 
Please login to merge, or discard this patch.
includes/admin/forms/dashboard-columns.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
  *
322 322
  * @param int $post_id Download (Post) ID
323 323
  *
324
- * @return void
324
+ * @return null|integer
325 325
  */
326 326
 function give_price_save_quick_edit( $post_id ) {
327 327
 	if ( ! isset( $_POST['post_type'] ) || 'give_forms' !== $_POST['post_type'] ) {
Please login to merge, or discard this patch.
includes/admin/payments/actions.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,6 @@
 block discarded – undo
297 297
  *
298 298
  * @since 1.0
299 299
  *
300
- * @param array $data Arguments passed
301 300
  *
302 301
  * @return void
303 302
  */
Please login to merge, or discard this patch.
includes/admin/payments/class-payments-table.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,6 @@
 block discarded – undo
279 279
 	 * @access public
280 280
 	 * @since  1.0
281 281
 	 *
282
-	 * @param array  $item        Contains all the data of the discount code
283 282
 	 * @param string $column_name The name of the column
284 283
 	 *
285 284
 	 * @return string Column Name
Please login to merge, or discard this patch.
includes/admin/register-settings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 	 *
81 81
 	 * @param $url
82 82
 	 *
83
-	 * @return mixed
83
+	 * @return string
84 84
 	 */
85 85
 	public function give_update_cmb_meta_box_url( $url ) {
86 86
 		//Path to Give's CMB
Please login to merge, or discard this patch.
includes/admin/reporting/class-api-requests-logs-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 	 *
158 158
 	 * @access public
159 159
 	 * @since  1.0
160
-	 * @return mixed String if search is present, false otherwise
160
+	 * @return string|false String if search is present, false otherwise
161 161
 	 */
162 162
 	public function get_search() {
163 163
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.
includes/admin/reporting/class-sales-logs-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 	 *
144 144
 	 * @access public
145 145
 	 * @since  1.0
146
-	 * @return mixed string If search is present, false otherwise
146
+	 * @return string|false string If search is present, false otherwise
147 147
 	 */
148 148
 	public function get_search() {
149 149
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.