We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca5ca68 commit 9aee018Copy full SHA for 9aee018
1 file changed
tests/benchmarks/benchmarks/html-api/WpHtmlTagProcessorBench.php
@@ -10,7 +10,10 @@
10
use PhpBench\Attributes as Bench;
11
12
class WpHtmlTagProcessorBench {
13
- private $processor = null;
+ /**
14
+ * Processor instance for benchmarks.
15
+ */
16
+ private WP_HTML_Tag_Processor|WP_HTML_Processor|null $processor = null;
17
18
public function clean_up_processor(): void {
19
$this->processor = null;
@@ -106,7 +109,6 @@ public static function provide_script_tag_contents(): iterable {
106
109
);
107
110
}
108
111
-
112
/**
113
* Benchmark HTML parsing.
114
* @param array{0: string} $params
0 commit comments