@@ -112,8 +112,8 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * Method Exists. |
114 | 114 | * |
115 | - * @param [type] $class Class. |
|
116 | - * @param [type] $method Method. |
|
115 | + * @param string $class Class. |
|
116 | + * @param string $method Method. |
|
117 | 117 | * @return [type] [description] |
118 | 118 | */ |
119 | 119 | public function method_exists( $class, $method ) { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * Class Exists. |
125 | 125 | * |
126 | - * @param [type] $class Class. |
|
126 | + * @param string $class Class. |
|
127 | 127 | * @return [type] [description] |
128 | 128 | */ |
129 | 129 | public function class_exists( $class ) { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | /** |
134 | 134 | * Function Exists. |
135 | 135 | * |
136 | - * @param [type] $function Function. |
|
136 | + * @param string $function Function. |
|
137 | 137 | * @return [type] [description] |
138 | 138 | */ |
139 | 139 | public function function_exists( $function ) { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * @param string $url_orig Original URL. |
19 | 19 | * @param array $url_info Pieces of original URL. |
20 | 20 | * |
21 | - * @return bool |
|
21 | + * @return false|string |
|
22 | 22 | */ |
23 | 23 | function jetpack_no_qtranslate_rest_url_redirect( $url_lang, $url_orig, $url_info ) { |
24 | 24 | if ( false !== strpos( $url_info['wp-path'], 'wp-json/jetpack' ) ) { |