Skip to content

Commit 3585c88

Browse files
The Generator service class was renamed to GeneratorService
1 parent 01f545e commit 3585c88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Commands/FeedGenerateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use DragonCode\LaravelFeed\Exceptions\InvalidFeedArgumentException;
88
use DragonCode\LaravelFeed\Queries\FeedQuery;
9-
use DragonCode\LaravelFeed\Services\Generator;
9+
use DragonCode\LaravelFeed\Services\GeneratorService;
1010
use Illuminate\Console\Command;
1111
use Laravel\Prompts\Concerns\Colors;
1212
use Symfony\Component\Console\Attribute\AsCommand;
@@ -20,7 +20,7 @@ class FeedGenerateCommand extends Command
2020
{
2121
use Colors;
2222

23-
public function handle(Generator $generator, FeedQuery $query): void
23+
public function handle(GeneratorService $generator, FeedQuery $query): void
2424
{
2525
foreach ($this->feedable($query) as $feed => $enabled) {
2626
$enabled

src/Services/Generator.php renamed to src/Services/GeneratorService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use function implode;
1717
use function sprintf;
1818

19-
class Generator
19+
class GeneratorService
2020
{
2121
public function __construct(
2222
protected Filesystem $filesystem,

0 commit comments

Comments
 (0)