Skip to content

Commit

Permalink
fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gaokevin1 committed Oct 28, 2024
1 parent 13ea070 commit c47cc7c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/SDK/Auth/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function signUp(string $loginId, string $password, ?array $user = null, ?
* @param string $loginId Login ID of the user.
* @param string $password Password of the user.
* @return array JWT response array.
* @throws AuthException
* @throws AuthException
*/
public function signIn(string $loginId, string $password): array
{
Expand Down
14 changes: 7 additions & 7 deletions src/SDK/Auth/SSO.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function signIn(?string $tenant = null, ?string $redirectUrl = null, ?str
/**
* Exchanges SSO code for authentication.
*
* @param string|null $code The exchange code.
* @param string|null $code The exchange code.
* @return array Response array.
*/
public function exchangeToken(?string $code = null): array
Expand All @@ -77,9 +77,9 @@ public function exchangeToken(?string $code = null): array
/**
* Composes the SSO sign-in URL.
*
* @param string|null $tenant Tenant identifier.
* @param string|null $redirectUrl Redirect URL.
* @param string|null $prompt Prompt parameter.
* @param string|null $tenant Tenant identifier.
* @param string|null $redirectUrl Redirect URL.
* @param string|null $prompt Prompt parameter.
* @return string Composed URL.
*/
private function composeSignInUrl(?string $tenant, ?string $redirectUrl, ?string $prompt): string
Expand All @@ -104,8 +104,8 @@ private function composeSignInUrl(?string $tenant, ?string $redirectUrl, ?string
/**
* Validates the tenant parameter.
*
* @param string|null $tenant The tenant identifier.
* @throws AuthException
* @param string|null $tenant The tenant identifier.
* @throws AuthException
*/
private function validateTenant(?string $tenant): void
{
Expand All @@ -117,7 +117,7 @@ private function validateTenant(?string $tenant): void
/**
* Validates the redirect URL parameter.
*
* @param string|null $redirectUrl The redirect URL.
* @param string|null $redirectUrl The redirect URL.
* @throws AuthException
*/
private function validateRedirectUrl(?string $redirectUrl): void
Expand Down
2 changes: 1 addition & 1 deletion src/SDK/Management/AssociatedTenant.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ public function toArray(): array
'roleIds' => $this->roleIds,
];
}
}
}
2 changes: 0 additions & 2 deletions src/tests/Management/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,5 +260,3 @@ public function testDeactivateUser()
print_r($response);
}
}


0 comments on commit c47cc7c

Please sign in to comment.