Skip to content

Commit 05bead1

Browse files
committed
Some minor typo on Utils.php
1 parent e0bc750 commit 05bead1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/integration/Utils.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ public static function getAuthOptsV2()
3333
'base_uri' => CommonUtils::normalizeUrl(getenv('OS_AUTH_URL')),
3434
'handler' => HandlerStack::create(),
3535
]);
36-
$identityService = new Service($httpClient, new Api);
3736
return [
3837
'authUrl' => getenv('OS_AUTH_URL'),
3938
'region' => getenv('OS_REGION_NAME'),
4039
'username' => getenv('OS_USERNAME'),
4140
'password' => getenv('OS_PASSWORD'),
4241
'tenantName' => getenv('OS_TENANT_NAME'),
43-
'identityService' => $identityService,
42+
'identityService' => new Service($httpClient, new Api),
4443
];
4544
}
4645

47-
public static function getAuthOpts($options = [])
46+
public static function getAuthOpts(array $options = [])
4847
{
49-
$authOptions = getenv('OS_IDENTITY_API_VERSION') == '2.0' ?
50-
self::getAuthOptsV2() : self::getAuthOptsV3();
48+
$authOptions = getenv('OS_IDENTITY_API_VERSION') == '2.0'
49+
? self::getAuthOptsV2()
50+
: self::getAuthOptsV3();
5151
return array_merge($authOptions, $options);
5252
}
5353
}

0 commit comments

Comments
 (0)