Skip to content

Commit c84a24e

Browse files
committed
refactor: change owner config json
1 parent 9439a48 commit c84a24e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/ChangeOwnerConfigJson.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function handle(): void
3535
return;
3636
}
3737

38-
$user = $this->argument('user') ?? $this->getDefaultUserGroup();
39-
$group = $this->argument('group') ?? $user;
38+
$user = (string) ($this->argument('user') ?? $this->getDefaultUserGroup());
39+
$group = (string) ($this->argument('group') ?? $user);
4040

4141
if (empty($user) || empty($group)) {
4242
$user = $group = $this->getDefaultUserGroup();

0 commit comments

Comments
 (0)