We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8529113 commit 18b7ac3Copy full SHA for 18b7ac3
1 file changed
src/Schema/StringSchema.php
@@ -389,7 +389,7 @@ public function pattern(string $pattern): static
389
*/
390
public function regexp(string $regexp): static
391
{
392
- @@trigger_error('Use pattern($pattern) instead', E_USER_DEPRECATED);
+ @trigger_error('Use pattern($pattern) instead', E_USER_DEPRECATED);
393
394
if (false === @preg_match($regexp, '')) {
395
throw new \InvalidArgumentException(\sprintf('Invalid regexp "%s" given', $regexp));
0 commit comments