← All changes
|
classes/async-operation/interfaces/operation-query-interface.php
+5
-1
1.0.2
→
1.7.7
View file →
| @@ -1,7 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace ImageOptimizer\Classes\Async_Operation\Interfaces; | |
| 3 | +namespace ImageOptimization\Classes\Async_Operation\Interfaces; | |
| 4 | + | |
| 5 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 6 | + exit; // Exit if accessed directly. | |
| 7 | +} | |
| 4 | 8 | |
| 5 | 9 | interface Operation_Query_Interface { |
| 6 | 10 | public function get_query(): array; |
| 7 | 11 | public function get_return_type(): string; |