refactor: service entity list and fetch

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-05-17 17:49:01 -04:00
parent 94ca156fdb
commit 86c93e8d3e
3 changed files with 57 additions and 39 deletions

View File

@@ -28,9 +28,9 @@ final class StoreCommand implements CommandInterface
*/
public function __construct(
FetchTarget|string|SequenceSet|null $target = null,
private readonly array $flags = [],
private readonly string $action = '',
private readonly bool $silent = true,
private array $flags = [],
private string $action = '',
private bool $silent = true,
) {
$resolvedTarget = match (true) {
$target instanceof FetchTarget => $target,