From 35782472712adeb4c9f7e9a01aa06dc5bb148691 Mon Sep 17 00:00:00 2001 From: dmason30 Date: Thu, 23 Nov 2023 01:12:28 +0000 Subject: [PATCH] wip --- src/LaravelTranslationLinterServiceProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LaravelTranslationLinterServiceProvider.php b/src/LaravelTranslationLinterServiceProvider.php index f8753ed..d527638 100644 --- a/src/LaravelTranslationLinterServiceProvider.php +++ b/src/LaravelTranslationLinterServiceProvider.php @@ -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) @@ -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) @@ -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,