Skip to content

Commit 8c63956

Browse files
committed
Fix typo
1 parent 3a91b6e commit 8c63956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Legacy/PolyfillAssertTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,6 @@ public static function assertMatchesRegularExpression($pattern, $string, $messag
554554
*/
555555
public static function assertDoesNotMatchRegularExpression($pattern, $string, $message = '')
556556
{
557-
static::assertNotRegExp($message, $string, $message);
557+
static::assertNotRegExp($pattern, $string, $message);
558558
}
559559
}

0 commit comments

Comments
 (0)