| 1 | <?php |
||
| 3 | class VideoPress_Options { |
||
| 4 | |||
| 5 | /** @var string */ |
||
| 6 | public static $option_name = 'videopress'; |
||
| 7 | |||
| 8 | /** @var array */ |
||
| 9 | public static $jetpack_plans_with_videopress = array( 'jetpack_premium', 'jetpack_business' ); |
||
| 10 | |||
| 11 | /** @var array */ |
||
| 12 | protected static $options = array(); |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Get VideoPress options |
||
| 16 | */ |
||
| 17 | public static function get_options() { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Update VideoPress options |
||
| 46 | */ |
||
| 47 | public static function update_options( $options ) { |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Runs when the VideoPress module is deactivated. |
||
| 55 | */ |
||
| 56 | public static function delete_options() { |
||
| 61 | |||
| 62 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..