From 0ef88c08180628943de24ca09bd562d4572f4bf6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 30 Jan 2024 11:03:48 +0100 Subject: [PATCH] PHPDoc improvements --- Crypt/GPG/Key.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Crypt/GPG/Key.php b/Crypt/GPG/Key.php index 9094f96..b00b780 100644 --- a/Crypt/GPG/Key.php +++ b/Crypt/GPG/Key.php @@ -60,7 +60,7 @@ class Crypt_GPG_Key * * This is an array of {@link Crypt_GPG_UserId} objects. * - * @var array + * @var array * * @see Crypt_GPG_Key::addUserId() * @see Crypt_GPG_Key::getUserIds() @@ -72,7 +72,7 @@ class Crypt_GPG_Key * * This is an array of {@link Crypt_GPG_SubKey} objects. * - * @var array + * @var array * * @see Crypt_GPG_Key::addSubKey() * @see Crypt_GPG_Key::getSubKeys() @@ -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 the sub-keys of this key. * * @see Crypt_GPG_Key::addSubKey() */ @@ -94,7 +94,7 @@ public function getSubKeys() /** * Gets the user ids of this key * - * @return array the user ids of this key. + * @return array the user ids of this key. * * @see Crypt_GPG_Key::addUserId() */ @@ -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() { @@ -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() {