Corrected a few lines of code in regards to missing variable definitions
This commit is contained in:
parent
8835ad9702
commit
b26d818d6b
2 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
This update introduces minor improvements
|
This update introduces minor improvements
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Corrected a few lines of code in regards to missing variable definitions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [1.0.3] - 2023-07-13
|
## [1.0.3] - 2023-07-13
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log::warning('net.nosial.configlib', sprintf('Environment variable "%s" points to a non-existent file, resorting to default/builtin configuration', $environment_config));
|
Log::warning('net.nosial.configlib', sprintf('Environment variable "%s" points to a non-existent file, resorting to default/builtin configuration', $env));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@
|
||||||
|
|
||||||
if(!$fs->exists($this->path))
|
if(!$fs->exists($this->path))
|
||||||
{
|
{
|
||||||
throw new RuntimeException(sprintf('Unable to import configuration file "%s" from environment, file does not exist', $path));
|
throw new RuntimeException(sprintf('Unable to import configuration file "%s" from environment, file does not exist', $this->path));
|
||||||
}
|
}
|
||||||
|
|
||||||
$yaml = file_get_contents($this->path);
|
$yaml = file_get_contents($this->path);
|
||||||
|
|
Loading…
Add table
Reference in a new issue