@@ -1945,7 +1945,7 @@ discard block |
||
1945 | 1945 | * |
1946 | 1946 | * @since 2.4.0 |
1947 | 1947 | * |
1948 | - * @return object The TGM_Plugin_Activation object. |
|
1948 | + * @return TGM_Plugin_Activation The TGM_Plugin_Activation object. |
|
1949 | 1949 | */ |
1950 | 1950 | public static function get_instance() { |
1951 | 1951 | |
@@ -2092,7 +2092,7 @@ discard block |
||
2092 | 2092 | * |
2093 | 2093 | * @since 2.5.0 |
2094 | 2094 | * |
2095 | - * @return array CSS classnames. |
|
2095 | + * @return string[] CSS classnames. |
|
2096 | 2096 | */ |
2097 | 2097 | public function get_table_classes() { |
2098 | 2098 | return array( 'widefat', 'fixed' ); |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * @uses api_request() |
65 | 65 | * |
66 | 66 | * @param array $_transient_data Update array build by WordPress. |
67 | - * @return array Modified update array with custom plugin data. |
|
67 | + * @return stdClass Modified update array with custom plugin data. |
|
68 | 68 | */ |
69 | 69 | function check_update( $_transient_data ) { |
70 | 70 |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * Loads the class file for a given class name. |
63 | 63 | * |
64 | 64 | * @param string $class The fully-qualified class name. |
65 | - * @return mixed The mapped file name on success, or boolean false on |
|
65 | + * @return string|false The mapped file name on success, or boolean false on |
|
66 | 66 | * failure. |
67 | 67 | */ |
68 | 68 | public function loadClass($class) { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * |
100 | 100 | * @param string $prefix The namespace prefix. |
101 | 101 | * @param string $relative_class The relative class name. |
102 | - * @return mixed Boolean false if no mapped file can be loaded, or the |
|
102 | + * @return false|string Boolean false if no mapped file can be loaded, or the |
|
103 | 103 | * name of the mapped file that was loaded. |
104 | 104 | */ |
105 | 105 | protected function loadMappedFile($prefix, $relative_class) { |
@@ -49,7 +49,6 @@ discard block |
||
49 | 49 | * |
50 | 50 | * @param string $action The AJAX action we are processing. |
51 | 51 | * @param string|object $callback_class The class to use for the callback. Either the name of the class or an instance of that class. |
52 | - * @param string $method The name of the callback method. |
|
53 | 52 | |
54 | 53 | */ |
55 | 54 | public function __construct( $action, $callback_class) { |
@@ -123,7 +122,7 @@ discard block |
||
123 | 122 | * |
124 | 123 | * @access protected |
125 | 124 | * |
126 | - * @return bool |
|
125 | + * @return boolean|null |
|
127 | 126 | */ |
128 | 127 | protected function if_implements() { |
129 | 128 |
@@ -97,6 +97,7 @@ |
||
97 | 97 | * |
98 | 98 | * @access protected |
99 | 99 | * |
100 | + * @param string $action |
|
100 | 101 | * @return array |
101 | 102 | */ |
102 | 103 | protected static function find_callback( $action ) { |
@@ -6,8 +6,8 @@ discard block |
||
6 | 6 | * If we're on multsite we'll grab the site option which is stored in the main blogs site option tables, otherwise |
7 | 7 | * we'll grab the option which is stored on the single blogs option tables |
8 | 8 | * |
9 | - * @param unknown $option string name of the option |
|
10 | - * @param unknown $section string name of the section |
|
9 | + * @param string $option string name of the option |
|
10 | + * @param string $section string name of the section |
|
11 | 11 | * @param unknown $default string/int default option value |
12 | 12 | * @return the option value |
13 | 13 | * @since 1.0 |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * Return a CSS class of an automatically supported theme |
53 | 53 | * |
54 | 54 | * @since 0.8.6 |
55 | - * @return a css class if the theme is supported, false if nothing |
|
55 | + * @return string|false css class if the theme is supported, false if nothing |
|
56 | 56 | */ |
57 | 57 | function lasso_get_supported_theme_class() { |
58 | 58 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * Used internally as a callback to build a tab or content area for modal addons |
229 | 229 | * |
230 | 230 | * @param $tab object |
231 | -* @param $type string tab or content |
|
231 | +* @param string $type string tab or content |
|
232 | 232 | * @uses lasso_modal_addons() |
233 | 233 | * @since 0.9.4 |
234 | 234 | */ |
@@ -66,7 +66,7 @@ |
||
66 | 66 | * |
67 | 67 | * @since 0.0.1 |
68 | 68 | * |
69 | - * @return Plugin slug variable. |
|
69 | + * @return string slug variable. |
|
70 | 70 | */ |
71 | 71 | public function get_plugin_slug() { |
72 | 72 | return $this->plugin_slug; |