PluginProbe ʕ •ᴥ•ʔ
Search Regex / 3.4.3
Search Regex v3.4.3
3.4.3 trunk 1.4.12 1.4.13 1.4.14 1.4.15 1.4.16 2.0 2.0.1 2.1 2.2 2.2.1 2.3 2.3.1 2.3.2 2.3.3 2.4 2.4.1 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.1 3.1.1 3.1.2 3.2 3.3 3.3.0 3.3.1 3.4 3.4.1 3.4.2
search-regex / includes / action / type / class-nothing.php
search-regex / includes / action / type Last commit date
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