Skip to content

Commit a851213

Browse files
committed
chore: fmt
1 parent c4b1174 commit a851213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SDK/Language.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ protected function toCamelCase($str): string
9898
return lcfirst($str);
9999
}
100100

101-
protected function toSnakeCase($str): string
101+
protected function toSnakeCase($str): string
102102
{
103103
// Replace alternative character sets
104104
$str = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
@@ -108,7 +108,7 @@ protected function toSnakeCase($str): string
108108
$str = preg_replace('/[ \'.\/-]/', '_', $str);
109109

110110
// Seperate camelCase with underscores
111-
$str = preg_replace_callback('/([a-z])([^a-z_])/', function($matches) {
111+
$str = preg_replace_callback('/([a-z])([^a-z_])/', function ($matches) {
112112
return $matches[1] . '_' . strtolower($matches[2]);
113113
}, $str);
114114

0 commit comments

Comments
 (0)