Skip to content

Commit 8eeee25

Browse files
committedFeb 25, 2025
Remove unneeded comments.
1 parent 61a742e commit 8eeee25

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed
 

‎src/Api/PersonalAccessTokens.php

-20
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class PersonalAccessTokens extends AbstractApi
3030
* @var \DateTimeInterface $last_used_after return tokens used before the given time (inclusive)
3131
* @var \DateTimeInterface $last_used_before return tokens used after the given time (inclusive)
3232
* }
33-
*
34-
* @return mixed
3533
*/
3634
public function all(array $parameters = [])
3735
{
@@ -76,25 +74,16 @@ public function all(array $parameters = [])
7674
return $this->get('personal_access_tokens', $resolver->resolve($parameters));
7775
}
7876

79-
/**
80-
* @return mixed
81-
*/
8277
public function show(int $id)
8378
{
8479
return $this->get('personal_access_tokens/'.self::encodePath($id));
8580
}
8681

87-
/**
88-
* @return mixed
89-
*/
9082
public function current()
9183
{
9284
return $this->get('personal_access_tokens/self');
9385
}
9486

95-
/**
96-
* @return mixed
97-
*/
9887
public function rotate(int $id, array $params = [])
9988
{
10089
$resolver = $this->createOptionsResolver();
@@ -109,9 +98,6 @@ public function rotate(int $id, array $params = [])
10998
return $this->post('personal_access_tokens/'.self::encodePath($id).'/rotate', $resolver->resolve($params));
11099
}
111100

112-
/**
113-
* @return mixed
114-
*/
115101
public function rotateCurrent(array $params = [])
116102
{
117103
$resolver = $this->createOptionsResolver();
@@ -126,17 +112,11 @@ public function rotateCurrent(array $params = [])
126112
return $this->post('personal_access_tokens/self/rotate', $resolver->resolve($params));
127113
}
128114

129-
/**
130-
* @return mixed
131-
*/
132115
public function remove(int $id)
133116
{
134117
return $this->delete('personal_access_tokens/'.self::encodePath($id));
135118
}
136119

137-
/**
138-
* @return mixed
139-
*/
140120
public function removeCurrent()
141121
{
142122
return $this->delete('personal_access_tokens/self');

0 commit comments

Comments
 (0)