Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
miladrahimi committed Jun 1, 2024
1 parent 23d51fe commit 2149fa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Cryptography/Keys/EcdsaPrivateKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(string $key, string $passphrase = '', ?string $id =
}

/**
* @return mixed
* @return resource
*/
public function getResource()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cryptography/Keys/EcdsaPublicKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(string $key, ?string $id = null)
}

/**
* @return mixed
* @return resource
*/
public function getResource()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cryptography/Keys/RsaPrivateKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(string $key, string $passphrase = '', ?string $id =
}

/**
* @return mixed
* @return resource
*/
public function getResource()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cryptography/Keys/RsaPublicKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(string $key, ?string $id = null)
}

/**
* @return mixed
* @return resource
*/
public function getResource()
{
Expand Down

0 comments on commit 2149fa2

Please sign in to comment.