Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni authored and github-actions[bot] committed Jul 17, 2024
1 parent 242baa7 commit bedbbe4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/GraphQL/Fields/SitemapField.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace Aerni\AdvancedSeo\GraphQL\Fields;

use Statamic\Facades\GraphQL;
use GraphQL\Type\Definition\Type;
use Rebing\GraphQL\Support\Field;
use Illuminate\Support\Collection;
use Aerni\AdvancedSeo\Facades\Sitemap;
use GraphQL\Type\Definition\ResolveInfo;
use Aerni\AdvancedSeo\GraphQL\Types\SeoSitemapType;
use GraphQL\Type\Definition\ResolveInfo;
use GraphQL\Type\Definition\Type;
use Illuminate\Support\Collection;
use Rebing\GraphQL\Support\Field;
use Statamic\Facades\GraphQL;

class SitemapField extends Field
{
Expand Down
14 changes: 7 additions & 7 deletions src/Sitemaps/SitemapRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace Aerni\AdvancedSeo\Sitemaps;

use Illuminate\Support\Str;
use Statamic\Facades\Taxonomy;
use Illuminate\Support\Collection;
use Aerni\AdvancedSeo\Contracts\Sitemap;
use Aerni\AdvancedSeo\Actions\IsEnabledModel;
use Aerni\AdvancedSeo\Contracts\Sitemap;
use Aerni\AdvancedSeo\Sitemaps\Collections\CollectionSitemap;
use Aerni\AdvancedSeo\Sitemaps\Custom\CustomSitemap;
use Statamic\Facades\Collection as CollectionFacade;
use Aerni\AdvancedSeo\Sitemaps\Custom\CustomSitemapUrl;
use Aerni\AdvancedSeo\Sitemaps\Taxonomies\TaxonomySitemap;
use Aerni\AdvancedSeo\Sitemaps\Collections\CollectionSitemap;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Statamic\Facades\Collection as CollectionFacade;
use Statamic\Facades\Taxonomy;

class SitemapRepository
{
Expand Down Expand Up @@ -44,7 +44,7 @@ public function all(): Collection

public function find(string $id): ?Sitemap
{
$method = Str::before($id, '::') . 'Sitemaps';
$method = Str::before($id, '::').'Sitemaps';

return $this->$method()->first(fn ($sitemap) => $id === $sitemap->id());
}
Expand Down

0 comments on commit bedbbe4

Please sign in to comment.