Skip to content

Commit 464dfa8

Browse files
committed
fix cs
1 parent df405a8 commit 464dfa8

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

src/Command/ListClientsCommand.php

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,17 @@ private function getFindByCriteria(InputInterface $input): ClientFilter
8787
/** @var list<string> $scopeStrings */
8888
$scopeStrings = $input->getOption('scope');
8989

90-
return
91-
ClientFilter
92-
::create()
93-
->addGrantCriteria(...array_map(static function (string $grant): Grant {
94-
return new Grant($grant);
95-
}, $grantStrings))
96-
->addRedirectUriCriteria(...array_map(static function (string $redirectUri): RedirectUri {
97-
return new RedirectUri($redirectUri);
98-
}, $redirectUriStrings))
99-
->addScopeCriteria(...array_map(static function (string $scope): Scope {
100-
return new Scope($scope);
101-
}, $scopeStrings))
102-
;
90+
return ClientFilter::create()
91+
->addGrantCriteria(...array_map(static function (string $grant): Grant {
92+
return new Grant($grant);
93+
}, $grantStrings))
94+
->addRedirectUriCriteria(...array_map(static function (string $redirectUri): RedirectUri {
95+
return new RedirectUri($redirectUri);
96+
}, $redirectUriStrings))
97+
->addScopeCriteria(...array_map(static function (string $scope): Scope {
98+
return new Scope($scope);
99+
}, $scopeStrings))
100+
;
103101
}
104102

105103
private function drawTable(InputInterface $input, OutputInterface $output, array $clients): void

0 commit comments

Comments
 (0)