File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ RUN apk add --update --no-cache \
41
41
shadow
42
42
43
43
# Composer
44
- RUN curl --location --output /app/bin/composer --show-error \
45
- https://github.com/composer/composer/releases/latest/download/composer.phar \
44
+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/app/bin --filename=composer \
46
45
&& chmod a+x /app/bin/composer
47
46
48
47
# Create the user that's going to run our application
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public function list(?ClientFilter $clientFilter): array
77
77
$ criteria = self ::filterToCriteria ($ clientFilter );
78
78
79
79
/** @var list<AbstractClient> */
80
- return array_values ( $ repository ->findBy ($ criteria) );
80
+ return $ repository ->findBy ($ criteria );
81
81
}
82
82
83
83
/**
You can’t perform that action at this time.
0 commit comments