@@ -1892,7 +1892,7 @@ discard block |
||
1892 | 1892 | * |
1893 | 1893 | * @since 2.4.0 |
1894 | 1894 | * |
1895 | - * @return object The TGM_Plugin_Activation object. |
|
1895 | + * @return TGM_Plugin_Activation The TGM_Plugin_Activation object. |
|
1896 | 1896 | */ |
1897 | 1897 | public static function get_instance() { |
1898 | 1898 | if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) { |
@@ -2049,7 +2049,7 @@ discard block |
||
2049 | 2049 | * |
2050 | 2050 | * @since 2.5.0 |
2051 | 2051 | * |
2052 | - * @return array CSS classnames. |
|
2052 | + * @return string[] CSS classnames. |
|
2053 | 2053 | */ |
2054 | 2054 | public function get_table_classes() { |
2055 | 2055 | return array( 'widefat', 'fixed' ); |
@@ -1,19 +1,19 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Plugin installation and activation for WordPress themes. |
|
4 | - * |
|
5 | - * Please note that this is a drop-in library for a theme or plugin. |
|
6 | - * The authors of this library (Thomas, Gary and Juliette) are NOT responsible |
|
7 | - * for the support of your plugin or theme. Please contact the plugin |
|
8 | - * or theme author for support. |
|
9 | - * |
|
10 | - * @package TGM-Plugin-Activation |
|
11 | - * @version 2.5.2 |
|
12 | - * @link http://tgmpluginactivation.com/ |
|
13 | - * @author Thomas Griffin, Gary Jones, Juliette Reinders Folmer |
|
14 | - * @copyright Copyright (c) 2011, Thomas Griffin |
|
15 | - * @license GPL-2.0+ |
|
16 | - */ |
|
3 | + * Plugin installation and activation for WordPress themes. |
|
4 | + * |
|
5 | + * Please note that this is a drop-in library for a theme or plugin. |
|
6 | + * The authors of this library (Thomas, Gary and Juliette) are NOT responsible |
|
7 | + * for the support of your plugin or theme. Please contact the plugin |
|
8 | + * or theme author for support. |
|
9 | + * |
|
10 | + * @package TGM-Plugin-Activation |
|
11 | + * @version 2.5.2 |
|
12 | + * @link http://tgmpluginactivation.com/ |
|
13 | + * @author Thomas Griffin, Gary Jones, Juliette Reinders Folmer |
|
14 | + * @copyright Copyright (c) 2011, Thomas Griffin |
|
15 | + * @license GPL-2.0+ |
|
16 | + */ |
|
17 | 17 | |
18 | 18 | /* |
19 | 19 | Copyright 2011 Thomas Griffin (thomasgriffinmedia.com) |
@@ -1342,13 +1342,13 @@ discard block |
||
1342 | 1342 | $key = preg_replace( '`[^A-Za-z0-9_-]`', '', $key ); |
1343 | 1343 | |
1344 | 1344 | /** |
1345 | - * Filter a sanitized key string. |
|
1346 | - * |
|
1347 | - * @since 3.0.0 |
|
1348 | - * |
|
1349 | - * @param string $key Sanitized key. |
|
1350 | - * @param string $raw_key The key prior to sanitization. |
|
1351 | - */ |
|
1345 | + * Filter a sanitized key string. |
|
1346 | + * |
|
1347 | + * @since 3.0.0 |
|
1348 | + * |
|
1349 | + * @param string $key Sanitized key. |
|
1350 | + * @param string $raw_key The key prior to sanitization. |
|
1351 | + */ |
|
1352 | 1352 | return apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); |
1353 | 1353 | } |
1354 | 1354 |