Skip to content

Commit 4c69b0e

Browse files
committed
PHPDoc fixes in Crypt_GPG_Key
1 parent 8c550eb commit 4c69b0e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Crypt/GPG/Key.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function getUserIds()
108108
*
109109
* The primary key is the first added sub-key.
110110
*
111-
* @return Crypt_GPG_SubKey the primary sub-key of this key.
111+
* @return ?Crypt_GPG_SubKey the primary sub-key of this key.
112112
*/
113113
public function getPrimaryKey()
114114
{
@@ -166,7 +166,7 @@ public function canEncrypt()
166166
*
167167
* @param Crypt_GPG_SubKey $subKey the sub-key to add.
168168
*
169-
* @return Crypt_GPG_Key the current object, for fluent interface.
169+
* @return $this the current object, for fluent interface.
170170
*/
171171
public function addSubKey(Crypt_GPG_SubKey $subKey)
172172
{
@@ -179,7 +179,7 @@ public function addSubKey(Crypt_GPG_SubKey $subKey)
179179
*
180180
* @param Crypt_GPG_UserId $userId the user id to add.
181181
*
182-
* @return Crypt_GPG_Key the current object, for fluent interface.
182+
* @return $this the current object, for fluent interface.
183183
*/
184184
public function addUserId(Crypt_GPG_UserId $userId)
185185
{

0 commit comments

Comments
 (0)