minor #36791 [FrameworkBundle] fix stringable annotation (nicolas-grekas)

This PR was submitted for the master branch but it was merged into the 4.4 branch instead.

Discussion
----------

[FrameworkBundle] fix stringable annotation

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

65e6812c1d [FrameworkBundle] fix stringable annotation
This commit is contained in:
Nicolas Grekas 2020-05-14 20:47:23 +02:00
commit 9bcf9c1e02

View File

@ -28,8 +28,8 @@ class SodiumVault extends AbstractVault implements EnvVarLoaderInterface
private $secretsDir;
/**
* @param string|object|null $decryptionKey A string or a stringable object that defines the private key to use to decrypt the vault
* or null to store generated keys in the provided $secretsDir
* @param string|\Stringable|null $decryptionKey A string or a stringable object that defines the private key to use to decrypt the vault
* or null to store generated keys in the provided $secretsDir
*/
public function __construct(string $secretsDir, $decryptionKey = null)
{