Skip to content

Commit

Permalink
Update comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
fjgarlin committed Feb 20, 2024
1 parent c78c647 commit e74ad8d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/Api/PersonalAccessTokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ class PersonalAccessTokens extends AbstractApi
/**
* @param array $parameters {
*
* @var string $search search for user by email or username
* @var string $username lookup for user by username
* @var bool $external search for external users only
* @var string $extern_uid lookup for users by external uid
* @var string $provider lookup for users by provider
* @var \DateTimeInterface $created_before return users created before the given time (inclusive)
* @var \DateTimeInterface $created_after return users created after the given time (inclusive)
* @var bool $active Return only active users. It does not support filtering inactive users.
* @var bool $blocked Return only blocked users. It does not support filtering non-blocked users.
* @var string $search search text
* @var string $state state of the token
* @var int $user_id tokens belonging to the given user
* @var book $revoked whether the token is revoked or not
* @var \DateTimeInterface $created_before return tokens created before the given time (inclusive)
* @var \DateTimeInterface $created_after return tokens created after the given time (inclusive)
* @var \DateTimeInterface $last_used_after return tokens used before the given time (inclusive)
* @var \DateTimeInterface $last_used_before return tokens used after the given time (inclusive)
* }
*
* @return mixed
Expand Down Expand Up @@ -98,6 +97,8 @@ public function current()

/**
* @param int $id
*
* @param array $params
*
* @return mixed
*/
Expand All @@ -115,7 +116,7 @@ public function rotate(int $id, array $params = [])
}

/**
* @param int $id
* @param array $params
*
* @return mixed
*/
Expand Down

0 comments on commit e74ad8d

Please sign in to comment.