Skip to content

Commit 5e9caf3

Browse files
authored
Update ListUsersCommand.php
Put array return type
1 parent 31d5da9 commit 5e9caf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/ListUsersCommand.php

Lines changed: 1 addition & 1 deletion
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)