Skip to content

Commit 208448b

Browse files
Merge pull request #3 from benr77/type-declarations
Type declarations
2 parents a2179ef + ebbefdc commit 208448b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Encryptors/DefuseEncryptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DefuseEncryptor implements EncryptorInterface
2020
/**
2121
* {@inheritdoc}
2222
*/
23-
public function __construct($keyFile)
23+
public function __construct(string $keyFile)
2424
{
2525
$this->encryptionKey = null;
2626
$this->keyFile = $keyFile;

Encryptors/HaliteEncryptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class HaliteEncryptor implements EncryptorInterface
2121
/**
2222
* {@inheritdoc}
2323
*/
24-
public function __construct($keyFile)
24+
public function __construct(string $keyFile)
2525
{
2626
$this->encryptionKey = null;
2727
$this->keyFile = $keyFile;

0 commit comments

Comments
 (0)