@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public static function toStudlyCase($input) { |
| 13 | 13 | $input = trim($input, '-_'); |
| 14 | 14 | return ucfirst(preg_replace_callback('/([A-Z-_][a-z]+)/', function($matches) { |
| 15 | - return ucfirst(str_replace(['-','_'], '',$matches[0])); |
|
| 15 | + return ucfirst(str_replace(['-', '_'], '', $matches[0])); |
|
| 16 | 16 | }, $input)); |
| 17 | 17 | } |
| 18 | 18 | |