Skip to content

Commit

Permalink
Update GenerateSitemap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Feb 19, 2024
1 parent 9a9c6c9 commit 22e6189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Console/Commands/GenerateSitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;
use Spatie\Sitemap\Sitemap;
use Spatie\Sitemap\SitemapGenerator;
use Spatie\Sitemap\SitemapIndex;
use Spatie\Sitemap\SitemapGenerator;
use Spatie\Sitemap\Tags\Sitemap as SitemapTag;

class GenerateSitemap extends Command
Expand Down Expand Up @@ -83,7 +83,7 @@ private function sitemap_names(SitemapIndex $sitemapIndex): void
/**
* Get file path and url.
*/
private function file(string $name): string
private function file(string $name): array
{
$file = public_path(static::PREFIX_PATH . '/' . $name);
$this->line("$file ...");
Expand Down

0 comments on commit 22e6189

Please sign in to comment.