| @@ -1,12 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Yoast\WP\SEO\Actions\Importing; |
| 4 | 4 | |
| 5 | -use Yoast\WP\SEO\Actions\Indexing\Indexation_Action_Interface; | |
| 6 | 5 | use Yoast\WP\SEO\Actions\Indexing\Limited_Indexing_Action_Interface; |
| 7 | 6 | |
| 8 | -interface Importing_Action_Interface extends Indexation_Action_Interface, Limited_Indexing_Action_Interface { | |
| 7 | +interface Importing_Action_Interface extends Importing_Indexation_Action_Interface, Limited_Indexing_Action_Interface { | |
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Returns the name of the plugin we import from. |
| 12 | 11 | * |
| @@ -23,10 +22,10 @@ | ||
| 23 | 22 | |
| 24 | 23 | /** |
| 25 | 24 | * Whether or not this action is capable of importing given a specific plugin and type. |
| 26 | 25 | * |
| 27 | - * @param string $plugin The name of the plugin being imported. | |
| 28 | - * @param string $type The component of the plugin being imported. | |
| 26 | + * @param string|null $plugin The name of the plugin being imported. | |
| 27 | + * @param string|null $type The component of the plugin being imported. | |
| 29 | 28 | * |
| 30 | 29 | * @return bool True if the action can import the given plugin's data of the given type. |
| 31 | 30 | */ |
| 32 | 31 | public function is_compatible_with( $plugin = null, $type = null ); |