We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d4efae commit 50486e1Copy full SHA for 50486e1
src/TestPattern.php
@@ -10,7 +10,7 @@ public function __construct($name)
10
{
11
}
12
13
- private function compile(string $pattern, string $subject): bool
+ private function compile(string $pattern, string $subject): string
14
15
return <<<PHP
16
\$result = preg_match({$pattern}, {$subject});
0 commit comments