Skip to content

Commit

Permalink
make laravel 7 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart-Kuenen-nextapps committed Aug 21, 2023
1 parent e1b8c47 commit 6cb7677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/UploadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function getLocale()
{
$locale = $this->argument('locale') ?? app()->getLocale();

if (collect(config('poeditor-sync.locales'))->flatten()->doesntContain($locale)) {
if (! collect(config('poeditor-sync.locales'))->flatten()->contains($locale)) {
return;
}

Expand Down

0 comments on commit 6cb7677

Please sign in to comment.