Skip to content

Commit 7e6eeeb

Browse files
Merge branch '3.4' into 4.3
* 3.4: Fix return statements [TwigBridge] add missing dep Add false type to ChoiceListFactoryInterface::createView $label argument
2 parents c718aa7 + 9caeb3c commit 7e6eeeb

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
@@ -82,7 +82,7 @@ public function getHtmlPattern()
8282

8383
// Quit if delimiters not at very beginning/end (e.g. when options are passed)
8484
if ($this->pattern[0] !== $this->pattern[\strlen($this->pattern) - 1]) {
85-
return;
85+
return null;
8686
}
8787

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

0 commit comments

Comments
 (0)