Skip to content

Commit

Permalink
Apply fixes from StyleCI (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed May 4, 2018
1 parent 7506ea0 commit 4bb5697
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/Sitemap.php
Expand Up @@ -33,10 +33,10 @@ public function add($tag): self
return $this;
}

public function getTags(): array
{
return $this->tags;
}
public function getTags(): array
{
return $this->tags;
}

public function getUrl(string $url): ?Url
{
Expand Down
2 changes: 1 addition & 1 deletion src/SitemapGenerator.php
Expand Up @@ -3,10 +3,10 @@
namespace Spatie\Sitemap;

use GuzzleHttp\Psr7\Uri;
use Illuminate\Support\Collection;
use Spatie\Crawler\Crawler;
use Spatie\Sitemap\Tags\Url;
use Spatie\Crawler\CrawlProfile;
use Illuminate\Support\Collection;
use Psr\Http\Message\UriInterface;
use Spatie\Sitemap\Crawler\Profile;
use Spatie\Sitemap\Crawler\Observer;
Expand Down
8 changes: 4 additions & 4 deletions tests/SitemapGeneratorTest.php
Expand Up @@ -30,9 +30,9 @@ public function it_can_generate_a_sitemap()
$this->assertMatchesXmlSnapshot(file_get_contents($sitemapPath));
}

/** @test */
public function it_will_create_new_sitemaps_if_the_maximum_amount_is_crossed()
{
/** @test */
public function it_will_create_new_sitemaps_if_the_maximum_amount_is_crossed()
{
$sitemapPath = $this->temporaryDirectory->path('test_chunk.xml');

SitemapGenerator::create('http://localhost:4020')
Expand All @@ -51,7 +51,7 @@ public function it_will_create_new_sitemaps_if_the_maximum_amount_is_crossed()
$this->assertContains('<url>', $subsitemap);
$this->assertContains('<urlset', $subsitemap);
}
}
}

/** @test */
public function it_can_modify_the_attributes_while_generating_the_sitemap()
Expand Down

0 comments on commit 4bb5697

Please sign in to comment.