class-delete.php
6 months ago
class-export.php
1 week ago
class-global-replace.php
6 months ago
class-modify.php
6 months ago
class-nothing.php
6 months ago
class-run.php
1 week ago
class-nothing.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace SearchRegex\Action\Type; |
| 4 | |
| 5 | use SearchRegex\Action\Action; |
| 6 | |
| 7 | /** |
| 8 | * Action to do nothing. |
| 9 | */ |
| 10 | class Nothing extends Action { |
| 11 | // @phpstan-ignore constructor.missingParentCall |
| 12 | public function __construct() { |
| 13 | } |
| 14 | |
| 15 | /** |
| 16 | * @return array<string, mixed> |
| 17 | */ |
| 18 | public function to_json() { |
| 19 | return [ |
| 20 | 'action' => 'nothing', |
| 21 | ]; |
| 22 | } |
| 23 | } |
| 24 |