Skip to content

Commit

Permalink
PHPDoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jan 30, 2024
1 parent 89c661f commit 0ef88c0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Crypt/GPG/Key.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Crypt_GPG_Key
*
* This is an array of {@link Crypt_GPG_UserId} objects.
*
* @var array
* @var array<Crypt_GPG_UserId>
*
* @see Crypt_GPG_Key::addUserId()
* @see Crypt_GPG_Key::getUserIds()
Expand All @@ -72,7 +72,7 @@ class Crypt_GPG_Key
*
* This is an array of {@link Crypt_GPG_SubKey} objects.
*
* @var array
* @var array<Crypt_GPG_SubKey>
*
* @see Crypt_GPG_Key::addSubKey()
* @see Crypt_GPG_Key::getSubKeys()
Expand All @@ -82,7 +82,7 @@ class Crypt_GPG_Key
/**
* Gets the sub-keys of this key
*
* @return array the sub-keys of this key.
* @return array<Crypt_GPG_SubKey> the sub-keys of this key.
*
* @see Crypt_GPG_Key::addSubKey()
*/
Expand All @@ -94,7 +94,7 @@ public function getSubKeys()
/**
* Gets the user ids of this key
*
* @return array the user ids of this key.
* @return array<Crypt_GPG_UserId> the user ids of this key.
*
* @see Crypt_GPG_Key::addUserId()
*/
Expand Down Expand Up @@ -124,8 +124,8 @@ public function getPrimaryKey()
*
* This key can sign data if any sub-key of this key can sign data.
*
* @return boolean true if this key can sign data and false if this key
* cannot sign data.
* @return bool True if this key can sign data and false if this key
* cannot sign data.
*/
public function canSign()
{
Expand All @@ -144,8 +144,8 @@ public function canSign()
*
* This key can encrypt data if any sub-key of this key can encrypt data.
*
* @return boolean true if this key can encrypt data and false if this
* key cannot encrypt data.
* @return bool True if this key can encrypt data and false if this
* key cannot encrypt data.
*/
public function canEncrypt()
{
Expand Down

0 comments on commit 0ef88c0

Please sign in to comment.