Skip to content

Commit

Permalink
Prevent warning
Browse files Browse the repository at this point in the history
Typed property OCA\\Libresign\\Service\\IdentifyMethod\\AbstractIdentifyMethod::$availableSignatureMethods must not be accessed before initialization"

Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Mar 26, 2024
1 parent b691103 commit 85d2beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/IdentifyMethod/AbstractIdentifyMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ abstract class AbstractIdentifyMethod implements IIdentifyMethod {
/**
* @var string[]
*/
public array $availableSignatureMethods;
public array $availableSignatureMethods = [];
/**
* @var AbstractSignatureMethod[]
*/
Expand Down

0 comments on commit 85d2beb

Please sign in to comment.