Skip to content

Commit

Permalink
Added missing return ...
Browse files Browse the repository at this point in the history
Well this is starting to get embarrassing…
  • Loading branch information
letr0n committed Aug 1, 2016
1 parent d15ed18 commit 04ddfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/security/crypto/Crypto.php
Expand Up @@ -57,7 +57,7 @@ public function __construct(EncrypterInterface $adapter, Signer $signer)
*/
public function encrypt(string $string): string
{
$this->signer->sign($this->adapter->encrypt($string));
return $this->signer->sign($this->adapter->encrypt($string));
}

/**
Expand Down

0 comments on commit 04ddfa2

Please sign in to comment.