Skip to content

Commit

Permalink
Merge pull request #3 from benr77/type-declarations
Browse files Browse the repository at this point in the history
Type declarations
  • Loading branch information
absolute-quantum authored Mar 3, 2018
2 parents a2179ef + ebbefdc commit 208448b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Encryptors/DefuseEncryptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DefuseEncryptor implements EncryptorInterface
/**
* {@inheritdoc}
*/
public function __construct($keyFile)
public function __construct(string $keyFile)
{
$this->encryptionKey = null;
$this->keyFile = $keyFile;
Expand Down
2 changes: 1 addition & 1 deletion Encryptors/HaliteEncryptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class HaliteEncryptor implements EncryptorInterface
/**
* {@inheritdoc}
*/
public function __construct($keyFile)
public function __construct(string $keyFile)
{
$this->encryptionKey = null;
$this->keyFile = $keyFile;
Expand Down

0 comments on commit 208448b

Please sign in to comment.