Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dmason30 committed Nov 23, 2023
1 parent a1fc67a commit 3578247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/LaravelTranslationLinterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ public function registeringPackage()

$this->app->bind(LanguageNamespaceKeyFactoryContract::class, LanguageNamespaceKeyFactory::class);

$this->app->bind(ResultObjectCollectionContract::class, ResultObjectCollection::class);

$this->app->scoped(MissingBaselineFileReaderContract::class, MissingBaselineFileReader::class);

$this->app->when(MissingBaselineFileReader::class)
Expand All @@ -130,6 +128,8 @@ public function registeringPackage()
->needs('$locales')
->giveConfig('translation-linter.lang.locales');

$this->app->bind(ResultObjectCollectionContract::class, ResultObjectCollection::class);

$this->app->scoped(UnusedBaselineFileReaderContract::class, UnusedBaselineFileReader::class);

$this->app->when(UnusedBaselineFileReader::class)
Expand Down Expand Up @@ -170,12 +170,12 @@ public function provides()
LanguageKeyFactoryContract::class,
LanguageNamespaceFinderContract::class,
LanguageNamespaceKeyFactoryContract::class,
ResultObjectCollectionContract::class,
MissingBaselineFileReaderContract::class,
MissingBaselineFileWriterContract::class,
MissingFieldCollectionContract::class,
MissingFilterCollectionContract::class,
MissingTranslationLinterContract::class,
ResultObjectCollectionContract::class,
UnusedBaselineFileReaderContract::class,
UnusedBaselineFileWriterContract::class,
UnusedFieldCollectionContract::class,
Expand Down

0 comments on commit 3578247

Please sign in to comment.