Skip to content

Commit

Permalink
laravel 11 support fix
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <dusan@dusanmalusev.dev>
  • Loading branch information
CodeLieutenant committed Mar 15, 2024
1 parent 8ce4a70 commit a6c0b38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Traits/Crypto.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ public function getKey(): string
return $this->keyLoader->getKey();
}

public function getAllKeys()
{
return [$this->getKey()];
}

public function getPreviousKeys()
{
return [];
}

public static function supported(string $key, string $cipher): bool
{
$encType = Encryption::tryFrom($cipher);
Expand Down

0 comments on commit a6c0b38

Please sign in to comment.