Skip to content

Commit

Permalink
Rename ServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoraddatz committed Jun 26, 2023
1 parent cab4275 commit a34311e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"extra": {
"laravel": {
"providers": [
"Empuxa\\TranslationManager\\ServiceProvider"
"Empuxa\\TranslationManager\\TranslationManagerServiceProvider"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

class ServiceProvider extends PackageServiceProvider
class TranslationManagerServiceProvider extends PackageServiceProvider
{
public function configurePackage(Package $package): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Empuxa\TranslationManager\Tests;

use Empuxa\TranslationManager\ServiceProvider;
use Empuxa\TranslationManager\TranslationManagerServiceProvider;

class TestCase extends \Orchestra\Testbench\TestCase
{
protected function getPackageProviders($app): array
{
return [
ServiceProvider::class,
TranslationManagerServiceProvider::class,
];
}
}

0 comments on commit a34311e

Please sign in to comment.