Skip to content

Commit

Permalink
fix php cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Jun 8, 2023
1 parent abea0b4 commit dc29cb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Unavatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function toUrl(): string
static::BASE_URL,
$this->provider,
urlencode($this->identifier),
($this->fallback === null ? '' : '?fallback='.urlencode($this->fallback)),
$this->fallback === null ? '' : '?fallback='.urlencode($this->fallback),
]));
}

Expand Down
4 changes: 4 additions & 0 deletions tests/UnavatarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ final class UnavatarTest extends TestCase
{
/**
* @test
*
* @dataProvider provideUnavatarInputs
*/
public function it_generates_unavatar_url(string $identifier, ?string $provider, string $expected): void
Expand All @@ -22,6 +23,7 @@ public function it_generates_unavatar_url(string $identifier, ?string $provider,

/**
* @test
*
* @dataProvider provideUnavatarInputs
*/
public function it_generates_unavatar_img_tag(string $identifier, ?string $provider, string $expected): void
Expand All @@ -37,6 +39,7 @@ public function it_generates_unavatar_img_tag(string $identifier, ?string $provi

/**
* @test
*
* @dataProvider provideUnavatarInputs
*/
public function it_can_apply_fallback_image(string $identifier, ?string $provider, string $expected): void
Expand All @@ -59,6 +62,7 @@ public function it_can_add_custom_attributes_to_image(): void

/**
* @test
*
* @dataProvider provideUnavatarProviders
*/
public function it_can_use_provider_helpers(string $identifier, ?string $provider, string $expected): void
Expand Down

0 comments on commit dc29cb2

Please sign in to comment.