Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer authored and github-actions[bot] committed Dec 3, 2024
1 parent a1e86d8 commit 3b43fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Svg.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private function renderAttributes()
'role' => 'img',
])
// When no `title` attribute is set, we hide it from screen readers by default.
->when(! $this->attributes->get('title'), fn(Collection $collection) => $collection->put('aria-hidden', 'true'))
->when(! $this->attributes->get('title'), fn (Collection $collection) => $collection->put('aria-hidden', 'true'))
->pipe(function (Collection $collection) {
return $collection->merge(
$this->attributes->map(fn ($value, $key) => trim($collection->get($key).' '.$value))
Expand Down

0 comments on commit 3b43fd4

Please sign in to comment.