Skip to content

Commit

Permalink
refactor: Change auth access modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzahilmi committed Jun 24, 2023
1 parent 28dfd26 commit dd1e74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SIAMUBAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function getCookieToken(): string
* @return string The authentication response body.
* @throws Exception If the authentication fails.
*/
public function auth(string $nim, string $password): string
private function auth(string $nim, string $password): string
{
if (empty($nim) || empty($password)) {
throw new Exception('Could not authenticate. Empty NIM or Password!');
Expand Down

0 comments on commit dd1e74b

Please sign in to comment.