Skip to content

Commit

Permalink
Minor refactor. (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Apr 6, 2018
1 parent 776a39d commit 09972f7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Util/InstallationUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ public static function interactiveInstall()
try {
$context = static::createApiContextWithoutConstructor();

$environmentType = new BunqEnumApiEnvironmentType(static::readLine(
self::PROMPT_ENVIRONMENT,
self::ERROR_EMPTY_ENVIRONMENT
));
$environmentType = new BunqEnumApiEnvironmentType(
static::readLine(
self::PROMPT_ENVIRONMENT,
self::ERROR_EMPTY_ENVIRONMENT
)
);
static::setPrivateProperty($context, self::PROPERTY_ENVIRONMENT_TYPE, $environmentType);

$apiKey = static::readLine(
Expand Down

0 comments on commit 09972f7

Please sign in to comment.