Skip to content

Commit 08b175b

Browse files
authored
Merge pull request #16 from humhub/rector/auto-update
chore: automated Rector updates
2 parents 25a5995 + 0502bfa commit 08b175b

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

composer.lock

Lines changed: 16 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/rewrite-module-id.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
*/
7373
function camelCaseToDashed($className): string
7474
{
75-
return strtolower(preg_replace('/([a-zA-Z])(?=[A-Z])/', '$1-', (string) $className));
75+
return strtolower((string) preg_replace('/([a-zA-Z])(?=[A-Z])/', '$1-', (string) $className));
7676
}
7777

7878
function dashesToCamelCase($string, $capitalizeFirstCharacter = false): string

0 commit comments

Comments
 (0)