fix devops error

This commit is contained in:
ludo
2024-01-05 01:30:46 +01:00
parent 90b0af5b2d
commit 5144c1f7fd
128 changed files with 410 additions and 2580 deletions

View File

@@ -20,7 +20,7 @@ trait Imageable
{
$src = self::getThumbSrc($image, $with_undefined);
return $src ? "<img src='$src'>" : '';
return $src ? "<img src='{$src}'>" : '';
}
public static function getThumbSrc($image, $with_undefined = true)
@@ -32,7 +32,7 @@ trait Imageable
{
$src = self::getPreviewSrc($image, $with_undefined);
return $src ? "<img src='$src' class='img-fluid'>" : '';
return $src ? "<img src='{$src}' class='img-fluid'>" : '';
}
public static function getPreviewSrc($image, $with_undefined = true)
@@ -44,7 +44,7 @@ trait Imageable
{
$src = self::getNormalSrc($image, $with_undefined);
return $src ? "<img src='$src'>" : '';
return $src ? "<img src='{$src}'>" : '';
}
public static function getNormalSrc($image, $with_undefined = true)
@@ -56,7 +56,7 @@ trait Imageable
{
$src = self::getImageSrc($image, $with_undefined);
return $src ? "<img src='$src' class='img-fluid'>" : '';
return $src ? "<img src='{$src}' class='img-fluid'>" : '';
}
public static function getImageSrc($image, $with_undefined = true)