Skip to content

Commit 3d7f3b3

Browse files
committed
fix missing return
1 parent d836c41 commit 3d7f3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityLDAP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ public function getAllUsers($UnitySQL, $UnityMailer, $UnityRedis, $UnityWebhook,
244244
foreach ($users as $user) {
245245
array_push($out, new UnityUser($user, $this, $UnitySQL, $UnityMailer, $UnityRedis, $UnityWebhook));
246246
}
247-
248247
return $out;
249248
}
250249
}
@@ -255,6 +254,7 @@ public function getAllUsers($UnitySQL, $UnityMailer, $UnityRedis, $UnityWebhook,
255254
$params = array($user, $this, $UnitySQL, $UnityMailer, $UnityRedis, $UnityWebhook);
256255
array_push($out, new UnityUser(...$params));
257256
}
257+
return $out;
258258
}
259259

260260
public function getAllUsersArrays($attributes = [])

0 commit comments

Comments
 (0)