Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 authored and github-actions[bot] committed Apr 23, 2024
1 parent dc785e9 commit 094e05e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/WireUseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ protected function registerBladeMacros(): static

ComponentAttributeBag::macro('cssClass', function (array $values = []): ComponentAttributeBag {
/** @var ComponentAttributeBag $this */

foreach ($values as $key => $value) {
$key = app(Bladeable::class)::classKeys($key)->first();

Expand All @@ -70,7 +69,6 @@ protected function registerBladeMacros(): static

ComponentAttributeBag::macro('classMerge', function (?array $values = null): ComponentAttributeBag {
/** @var ComponentAttributeBag $this */

$classes = app(Bladeable::class)::classMerged($this, $values)
->merge($this->get('class'))
->join(' ');
Expand All @@ -84,7 +82,6 @@ protected function registerBladeMacros(): static

ComponentAttributeBag::macro('classOnly', function (array $values): ComponentAttributeBag {
/** @var ComponentAttributeBag $this */

$classes = app(Bladeable::class)::classMerged($this, $values)
->join(' ');

Expand Down

0 comments on commit 094e05e

Please sign in to comment.