Skip to content

Commit

Permalink
fix: Remove scalar type hint as long as PHP 7.3 is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanschuler committed Nov 21, 2023
1 parent 493d309 commit 97e8496
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Classes/Encryption/EncryptionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ class EncryptionService
{
const ALGORITHM = 'AES256';

private string $rsaKeyFingerprint;
/** @var string */
private $rsaKeyFingerprint;

private string $encryptionModuleUri;
/** @var string */
private $encryptionModuleUri;

private RsaWalletServiceInterface $rsaWallet;

Expand Down
9 changes: 6 additions & 3 deletions Classes/Encryption/Sealed.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@
*/
final class Sealed
{
private string $encryptedData;
/** @var string */
private $encryptedData;

private string $initializationVector;
/** @var string */
private $initializationVector;

private string $envelopeKey;
/** @var string */
private $envelopeKey;

public function __construct(string $encryptedData, string $initializationVector, string $envelopeKeys)
{
Expand Down

0 comments on commit 97e8496

Please sign in to comment.