Skip to content

Commit d03054a

Browse files
Merge branch '4.3' into 4.4
* 4.3: cs fix Fix return statements [TwigBridge] add missing dep Add false type to ChoiceListFactoryInterface::createView $label argument Update UPGRADE guide of 4.3 for EventDispatcher [SecurityBundle] display the correct class name on the deprecated notice
2 parents d0cd9e2 + 7e6eeeb commit d03054a

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)