File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public static function translator(string $translator): Translator
46
46
/**
47
47
* @var class-string<Translators[T]> $instance
48
48
*/
49
- $ instance = str ($ translator )->ucfirst ()->prepend ('Ferdiunal\LaravelTranslator\Translators \\' )->append ('Translator ' )->toString ();
49
+ $ instance = str ($ translator )->ucfirst ()->prepend ('\ Ferdiunal\LaravelTranslator\Translators \\' )->append ('Translator ' )->toString ();
50
50
if (! class_exists ($ instance )) {
51
51
throw new \Exception (sprintf ('The translator %s does not exist. ' , $ instance ));
52
52
}
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ protected function getPackageProviders($app)
26
26
27
27
public function getEnvironmentSetUp ($ app )
28
28
{
29
- config ()->set ('database.default ' , 'testing ' );
30
29
31
- /*
32
- $migration = include __DIR__.'/../database/migrations/create_laravel-translator_table.php.stub';
33
- $migration->up();
34
- */
35
30
}
36
31
}
You can’t perform that action at this time.
0 commit comments