Skip to content

Commit

Permalink
Fix @return on Crypt_GPG_Signature::getUserId()
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Mar 21, 2024
1 parent 0ef88c0 commit 5e582a3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Crypt/GPG/Signature.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function __construct($signature = null)
/**
* Gets the id of this signature
*
* @return string a base64-encoded string containing a unique id for this
* @return string A base64-encoded string containing a unique id for this
* signature. This id is used to prevent replay attacks and
* is not present for all types of signatures.
*/
Expand All @@ -202,7 +202,7 @@ public function getId()
/**
* Gets the fingerprint of the key used to create this signature
*
* @return string the fingerprint of the key used to create this signature.
* @return string The fingerprint of the key used to create this signature.
*/
public function getKeyFingerprint()
{
Expand All @@ -216,7 +216,7 @@ public function getKeyFingerprint()
* (for example if the signature is bad), the id should always be
* available.
*
* @return string the id of the key used to create this signature.
* @return string The id of the key used to create this signature.
*/
public function getKeyId()
{
Expand All @@ -226,8 +226,8 @@ public function getKeyId()
/**
* Gets the creation date of this signature
*
* @return integer the creation date of this signature. This is a Unix
* timestamp.
* @return int The creation date of this signature. This is a Unix
* timestamp.
*/
public function getCreationDate()
{
Expand All @@ -237,9 +237,9 @@ public function getCreationDate()
/**
* Gets the expiration date of the signature
*
* @return integer the expiration date of this signature. This is a Unix
* timestamp. If this signature does not expire, this will
* be zero.
* @return int The expiration date of this signature. This is a Unix
* timestamp. If this signature does not expire, this will
* be zero.
*/
public function getExpirationDate()
{
Expand All @@ -249,7 +249,7 @@ public function getExpirationDate()
/**
* Gets the user id associated with this signature
*
* @return Crypt_GPG_UserId the user id associated with this signature.
* @return Crypt_GPG_UserId|null The user id associated with this signature.
*/
public function getUserId()
{
Expand All @@ -259,7 +259,7 @@ public function getUserId()
/**
* Gets whether or no this signature is valid
*
* @return boolean true if this signature is valid and false if it is not.
* @return bool True if this signature is valid and false if it is not.
*/
public function isValid()
{
Expand Down

0 comments on commit 5e582a3

Please sign in to comment.