diff --git a/beike/Services/ImageService.php b/beike/Services/ImageService.php index 3e39bb4f..4bfd1126 100644 --- a/beike/Services/ImageService.php +++ b/beike/Services/ImageService.php @@ -22,10 +22,10 @@ class ImageService const PLACEHOLDER_IMAGE = 'catalog/placeholder.png'; /** - * @param string $image + * @param $image * @throws \Exception */ - public function __construct(string $image) + public function __construct($image) { $this->image = $image ?: self::PLACEHOLDER_IMAGE; $imagePath = public_path($this->image); diff --git a/themes/default/shared/product.blade.php b/themes/default/shared/product.blade.php index 34f70683..fc1ab4d6 100644 --- a/themes/default/shared/product.blade.php +++ b/themes/default/shared/product.blade.php @@ -1,8 +1,8 @@
\ No newline at end of file +