Skip to content

Commit cf694ac

Browse files
committed
PHPDoc improvement
1 parent 971a2d9 commit cf694ac

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Crypt/GPG/KeyEditor.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function __destruct()
7373
* {@link Crypt_GPG_Key} or {@link Crypt_GPG_SubKey}.
7474
* @param string $passphrase The passphrase of the key required for signing (optional).
7575
*
76-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
76+
* @return $this The current object, for fluent interface.
7777
*
7878
* @sensitive $passphrase
7979
*/
@@ -171,7 +171,7 @@ public function edit($key, $passphrase = null)
171171
/**
172172
* Add a user identity to a key (`adduid`).
173173
*
174-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
174+
* @return $this The current object, for fluent interface.
175175
*/
176176
public function addUserId(Crypt_GPG_UserId $userid)
177177
{
@@ -198,7 +198,7 @@ public function addUserId(Crypt_GPG_UserId $userid)
198198
* @param Crypt_GPG_UserId $userid User identity to delete
199199
* @param bool $by_email Delete all identities with specified email address
200200
*
201-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
201+
* @return $this The current object, for fluent interface.
202202
*/
203203
public function deleteUserId(Crypt_GPG_UserId $userid, $by_email = false)
204204
{
@@ -230,7 +230,7 @@ public function deleteUserId(Crypt_GPG_UserId $userid, $by_email = false)
230230
* - <n>m - expiration in months
231231
* - <n>y - expiration in years
232232
*
233-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
233+
* @return $this The current object, for fluent interface.
234234
*/
235235
public function expire($period = '')
236236
{
@@ -258,7 +258,7 @@ public function expire($period = '')
258258
*
259259
* @param string $passphrase New passphrase
260260
*
261-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
261+
* @return $this The current object, for fluent interface.
262262
*/
263263
public function passwd($passphrase)
264264
{
@@ -284,7 +284,7 @@ public function passwd($passphrase)
284284
* @param bool $is_invalid Mark the user as "no longer valid"
285285
* @param string $reason Revocation reason description
286286
*
287-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
287+
* @return $this The current object, for fluent interface.
288288
*/
289289
public function revokeUserId(Crypt_GPG_UserId $userid, $by_email = false, $is_invalid = true, $reason = '')
290290
{
@@ -312,7 +312,7 @@ public function revokeUserId(Crypt_GPG_UserId $userid, $by_email = false, $is_in
312312
/**
313313
* Quit the current editing session without saving changes (`quit`).
314314
*
315-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
315+
* @return $this The current object, for fluent interface.
316316
*/
317317
public function quit()
318318
{
@@ -324,7 +324,7 @@ public function quit()
324324
/**
325325
* Save the changes and exit (`save`).
326326
*
327-
* @return Crypt_GPG_KeyEditor The current object, for fluent interface.
327+
* @return $this The current object, for fluent interface.
328328
*/
329329
public function save()
330330
{

0 commit comments

Comments
 (0)