Skip to content

Change Regex::regex to public static

Compare
Choose a tag to compare
@spawnia spawnia released this 05 Nov 14:24
· 93 commits to master since this release

Breaking

Change the method signature of protected function regex(): string to public static function regex(): string when extending the Regex class.

This allows accessing the regex from other classes to avoid duplicating it somewhere else.