Skip to content

Commit d9c28bc

Browse files
committed
Merge Utils.php
1 parent 20812c2 commit d9c28bc

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

tests/integration/CommonUtils.php

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/integration/Utils.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use OpenStack\Common\Transport\Utils as TransportUtils;
99
use OpenStack\OpenStack;
1010

11-
class Utils extends CommonUtils
11+
class Utils
1212
{
1313
public static function getOpenStack(): OpenStack
1414
{
@@ -57,4 +57,9 @@ public static function getAuthOpts(array $options = [])
5757

5858
return array_merge($authOptions, $options);
5959
}
60+
61+
public static function toCamelCase($word, $separator = '_')
62+
{
63+
return str_replace($separator, '', ucwords($word, $separator));
64+
}
6065
}

0 commit comments

Comments
 (0)