Skip to content

Commit 576561d

Browse files
committed
Coding standards.
1 parent 40918e5 commit 576561d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Api/PersonalAccessTokens.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ public function current()
9292
return $this->get('personal_access_tokens/self');
9393
}
9494

95-
9695
/**
9796
* @return mixed
9897
*/
@@ -106,6 +105,7 @@ public function rotate(int $id, array $params = [])
106105
->setAllowedTypes('expires_at', \DateTimeInterface::class)
107106
->setNormalizer('expires_at', $datetimeNormalizer)
108107
;
108+
109109
return $this->post('personal_access_tokens/'.self::encodePath($id).'/rotate', $resolver->resolve($params));
110110
}
111111

@@ -122,6 +122,7 @@ public function rotateCurrent(array $params = [])
122122
->setAllowedTypes('expires_at', \DateTimeInterface::class)
123123
->setNormalizer('expires_at', $datetimeNormalizer)
124124
;
125+
125126
return $this->post('personal_access_tokens/self/rotate', $resolver->resolve($params));
126127
}
127128

tests/Api/PersonalAccessTokensTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,4 @@ public function shouldRemoveCurrentToken(): void
163163

164164
$this->assertEquals($expectedBool, $api->removeCurrent());
165165
}
166-
167166
}

0 commit comments

Comments
 (0)