Skip to content

Commit 2aeda5f

Browse files
committed
options-resolver min version 5.4
1 parent 950a414 commit 2aeda5f

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Manager.php

-10
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public function __construct(AdapterInterface $adapter)
2828
}
2929

3030
/**
31-
* @param array $options
32-
*
3331
* @throws Exception\SecretNotFoundException
3432
*/
3533
public function getSecret(string $key, ?array $options = []): Secret
@@ -41,9 +39,6 @@ public function getSecret(string $key, ?array $options = []): Secret
4139
return $this->adapter->getSecret($key, $resolver->resolve($options));
4240
}
4341

44-
/**
45-
* @param array $options
46-
*/
4742
public function putSecret(Secret $secret, ?array $options = []): Secret
4843
{
4944
$resolver = new OptionsResolver();
@@ -54,8 +49,6 @@ public function putSecret(Secret $secret, ?array $options = []): Secret
5449
}
5550

5651
/**
57-
* @param array $options
58-
*
5952
* @throws Exception\SecretNotFoundException
6053
*/
6154
public function deleteSecretByKey(string $key, ?array $options = []): void
@@ -69,9 +62,6 @@ public function deleteSecretByKey(string $key, ?array $options = []): void
6962
$this->adapter->deleteSecret($secret, $resolver->resolve($options));
7063
}
7164

72-
/**
73-
* @param array $options
74-
*/
7565
public function deleteSecret(Secret $secret, ?array $options = []): void
7666
{
7767
$resolver = new OptionsResolver();

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"minimum-stability": "stable",
2020
"require": {
2121
"php": "^8.0",
22-
"symfony/options-resolver": "^5.3 || ^6.0"
22+
"symfony/options-resolver": "^5.4 || ^6.0"
2323
},
2424
"require-dev": {
2525
"phpunit/phpunit": "^9.0",

0 commit comments

Comments
 (0)