Skip to content

Commit

Permalink
trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Oct 31, 2020
1 parent c2e1bf9 commit 6700019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function registerComponents(): void
Blade::component(
SvgComponent::class,
implode('.', array_filter($path + [$file->getFilenameWithoutExtension()])),
$set['prefix']
$set['prefix'],
);
}
}
Expand Down Expand Up @@ -159,7 +159,7 @@ private function buildClass(string $set, string $class): string
return trim(sprintf(
'%s %s',
trim(sprintf('%s %s', $this->defaultClass, $this->sets[$set]['class'] ?? '')),
$class
$class,
));
}
}
2 changes: 1 addition & 1 deletion src/Svg.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function toHtml(): string
return str_replace(
'<svg',
sprintf('<svg%s', $this->renderAttributes()),
$this->contents
$this->contents,
);
}
}

0 comments on commit 6700019

Please sign in to comment.