We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3d335 commit 579e701Copy full SHA for 579e701
src/StringHelper.php
@@ -54,6 +54,7 @@ abstract class StringHelper
54
*/
55
public static function increment($string, $style = 'default', $n = 0)
56
{
57
+ $style ??= 'default';
58
$styleSpec = static::$incrementStyles[$style] ?? static::$incrementStyles['default'];
59
60
// Regular expression search and replace patterns.
0 commit comments