@@ -15,6 +15,9 @@ |
||
15 | 15 | exit; |
16 | 16 | } |
17 | 17 | |
18 | +/** |
|
19 | + * @param string $file_pattern |
|
20 | + */ |
|
18 | 21 | function wpcom_rest_api_v2_load_plugin_files( $file_pattern ) { |
19 | 22 | $plugins = glob( dirname( __FILE__ ) . '/' . $file_pattern ); |
20 | 23 |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * Singleton implementation |
44 | 44 | * |
45 | - * @return object |
|
45 | + * @return Jetpack_Photon|null |
|
46 | 46 | */ |
47 | 47 | public static function instance() { |
48 | 48 | if ( ! is_a( self::$instance, 'Jetpack_Photon' ) ) { |
@@ -1382,7 +1382,7 @@ discard block |
||
1382 | 1382 | * after ourselves without breaking anyone else's filters. |
1383 | 1383 | * |
1384 | 1384 | * @internal |
1385 | - * @return true |
|
1385 | + * @return boolean |
|
1386 | 1386 | */ |
1387 | 1387 | public function override_image_downsize_in_rest_edit_context() { |
1388 | 1388 | return true; |