Commit 958b4e79 authored by dockx thibault's avatar dockx thibault Committed by Oana-Eliza Alexa
Browse files

:art: refactor(archive) - update return type of getUserSupannAccountStatus...

:art: refactor(archive) - update return type of getUserSupannAccountStatus method to ensure consistent array output
1 merge request!85:art: refactor(archive) - improve method structure and enhance supann status...
Pipeline #32507 passed with stages
in 17 seconds
Showing with 2 additions and 2 deletions
+2 -2
......@@ -101,9 +101,9 @@ class Archive implements EndpointInterface
/**
* Retrieve the supannAccountStatus of a user
* @param string $userDn
* @return array|null
* @return array
*/
private function getUserSupannAccountStatus (string $userDn): ?array
private function getUserSupannAccountStatus (string $userDn): array
{
return $this->gateway->getLdapTasks(
'(objectClass=supannPerson)',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment