Skip to content

Commit 8f7b923

Browse files
committed
minor #1479 Update ListUsersCommand.php (hbgamra)
This PR was merged into the main branch. Discussion ---------- Update ListUsersCommand.php Put array return type Commits ------- 5e9caf3 Update ListUsersCommand.php
2 parents 31d5da9 + 5e9caf3 commit 8f7b923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/ListUsersCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9393
// Use ->findBy() instead of ->findAll() to allow result sorting and limiting
9494
$allUsers = $this->users->findBy([], ['id' => 'DESC'], $maxResults);
9595

96-
$createUserArray = static function (User $user) {
96+
$createUserArray = static function (User $user): array {
9797
return [
9898
$user->getId(),
9999
$user->getFullName(),

0 commit comments

Comments
 (0)