Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
adereksisusanto committed May 8, 2024
1 parent faa47f2 commit 0710fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TranslationsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@ private function get(array|string $key, mixed $default = null): string|array
if (is_numeric($k)) {
[$k, $default] = [$default, null];
}
$config[$k] = Str::replace('/', '\\', Arr::get($this->config, $k, $default));
$config[$k] = Arr::get($this->config, $k, $default);
}

return $config;
}

return Str::replace('/', '\\', Arr::get($this->config, $key, $default));
return Arr::get($this->config, $key, $default);
}

private function set(array|string $key, mixed $value = null): void
Expand Down

0 comments on commit 0710fdd

Please sign in to comment.