Skip to content

Commit 3560bc6

Browse files
committed
Merge branch 'release/issue-175'
2 parents 9fb1e90 + 0c8147c commit 3560bc6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/JiraClient.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ public function __construct(ConfigurationInterface $configuration = null, Logger
7171
// If calling the getcwd() on laravel it will returning the 'public' directory.
7272
$path = '../';
7373
}
74-
$configuration = new DotEnvConfiguration($path);
74+
$this->configuration = new DotEnvConfiguration($path);
75+
} else {
76+
$this->configuration = $configuration;
7577
}
7678

77-
$this->configuration = $configuration;
7879
$this->json_mapper = new \JsonMapper();
7980

8081
// Fix "\JiraRestApi\JsonMapperHelper::class" syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'

0 commit comments

Comments
 (0)