Skip to content

Commit bcf227c

Browse files
committed
Releasing 1.0.5
2 parents 46ddc68 + dd05ede commit bcf227c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/TgVault/BaseVault.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class BaseVault implements Vault {
1515

1616
/**
1717
* Default constructor that only takes an optiona logger object.
18-
* @param object $logger - the logger object, can be a Psr\Log\LoggerInterface or a \Vault\Logger.
18+
* @param object $logger - the logger object, can be a Psr\Log\LoggerInterface or a \TgVault\Logger.
1919
*/
2020
public function __construct($logger = NULL) {
2121
$this->logger = $logger;
@@ -34,7 +34,7 @@ public function getSecret(string $path) {
3434

3535
/**
3636
* Set the logger and log all information via this object.
37-
* This can be a Psr\Log\LoggerInterface or a \Vault\Logger.
37+
* This can be a Psr\Log\LoggerInterface or a \TgVault\Logger.
3838
* @param Logger - the logging object.
3939
*/
4040
public function setLogger($logger) {

src/TgVault/Hashicorp/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Cache {
1919
/**
2020
* Creates the cache.
2121
* @param string $cacheFile - where the cache is located in filesystem.
22-
* @param object $logger - a logger, either Vault\Logger or Psr\Log\LoggerInterface
22+
* @param object $logger - a logger, either TgVault\Logger or Psr\Log\LoggerInterface
2323
*/
2424
public function __construct(string $cacheFile, $logger = NULL) {
2525
$this->cacheFile = $cacheFile;
@@ -97,7 +97,7 @@ public function delete($key) {
9797

9898
/**
9999
* Set the logger and log all information via this object.
100-
* @param object $logger - a logger, either Vault\Logger or Psr\Log\LoggerInterface
100+
* @param object $logger - a logger, either TgVault\Logger or Psr\Log\LoggerInterface
101101
*/
102102
public function setLogger($logger) {
103103
$this->logger = $logger;

src/TgVault/Hashicorp/HashicorpVault.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class HashicorpVault extends BaseVault implements Vault {
2828
/**
2929
* Constructor.
3030
* @param mixed $config - the configuration, see Vaul\Hashicorp\Config for details.
31-
* @param object $logger - the logger, e.g. a Vault\Logger or a Psr\Log\LoggerInterface.
31+
* @param object $logger - the logger, e.g. a TgVault\Logger or a Psr\Log\LoggerInterface.
3232
*/
3333
public function __construct($config, $logger = NULL) {
3434
parent::__construct($logger);
@@ -63,13 +63,13 @@ public function getSecret(string $path) {
6363
}
6464
}
6565

66-
if (get_class($this->secrets[$path]) != 'Vault\\Secret') throw new VaultException('Secret not available', VAULT_ERR_SECRET);
66+
if (get_class($this->secrets[$path]) != 'TgVault\\Secret') throw new VaultException('Secret not available', VAULT_ERR_SECRET);
6767
return $this->secrets[$path];
6868
}
6969

7070
/**
7171
* Set the logger and log all information via this object.
72-
* @param object $logger - the logging object, either Vault\Logger or Psr\Log\LoggerInterface
72+
* @param object $logger - the logging object, either TgVault\Logger or Psr\Log\LoggerInterface
7373
*/
7474
public function setLogger($logger) {
7575
parent::setLogger($logger);

src/TgVault/VaultFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function create($config, Logger $logger = NULL) {
2929

3030
/**
3131
* Creates the vault according to type and passes the config object.
32-
* The vault class must be defined as "Vault\Type\TypeVault".
32+
* The vault class must be defined as "TgVault\Type\TypeVault".
3333
* @param string $type - the type of the vault
3434
* @param mixed $config - the configuration to pass on.
3535
* @param Logger $logger - the logger (optional)

0 commit comments

Comments
 (0)