Skip to content

Commit

Permalink
fix(ResponsiveImg): fix bad typo repository
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-infernal committed Jul 31, 2023
1 parent 56ae3c2 commit afa0ec7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getContainerCssClass(): string
{
$cssClass = config('responsive-images.container_css_class_name');

if (! empty($this->containerClass)) {
if (!empty($this->containerClass)) {
return "$cssClass {$this->containerClass}";
}

Expand Down Expand Up @@ -124,7 +124,7 @@ private function getImageInfo(): ImageInfoFromString

private function getFilteredSizes(): array
{
if (! empty($this->width)) {
if (!empty($this->width)) {
return array_filter(config('responsive-images.sizes'), function ($responsiveWidth) {
return $responsiveWidth <= $this->width;
});
Expand Down

0 comments on commit afa0ec7

Please sign in to comment.