Skip to content

Commit a6c0b38

Browse files
laravel 11 support fix
Signed-off-by: Dusan Malusev <[email protected]>
1 parent 8ce4a70 commit a6c0b38

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Traits/Crypto.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ public function getKey(): string
1717
return $this->keyLoader->getKey();
1818
}
1919

20+
public function getAllKeys()
21+
{
22+
return [$this->getKey()];
23+
}
24+
25+
public function getPreviousKeys()
26+
{
27+
return [];
28+
}
29+
2030
public static function supported(string $key, string $cipher): bool
2131
{
2232
$encType = Encryption::tryFrom($cipher);

0 commit comments

Comments
 (0)