We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d5da9 commit 5e9caf3Copy full SHA for 5e9caf3
src/Command/ListUsersCommand.php
@@ -93,7 +93,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
93
// Use ->findBy() instead of ->findAll() to allow result sorting and limiting
94
$allUsers = $this->users->findBy([], ['id' => 'DESC'], $maxResults);
95
96
- $createUserArray = static function (User $user) {
+ $createUserArray = static function (User $user): array {
97
return [
98
$user->getId(),
99
$user->getFullName(),
0 commit comments