Skip to content

Commit 9caeb3c

Browse files
Fix return statements
1 parent a69bf0a commit 9caeb3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/Regex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function getHtmlPattern()
7171

7272
// Quit if delimiters not at very beginning/end (e.g. when options are passed)
7373
if ($this->pattern[0] !== $this->pattern[\strlen($this->pattern) - 1]) {
74-
return;
74+
return null;
7575
}
7676

7777
$delimiter = $this->pattern[0];

0 commit comments

Comments
 (0)