| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | public array $classes = []; |
| 16 | 16 | public array $dimensions = []; |
| 17 | 17 | public string $lazy_load; |
| 18 | 18 | |
| 19 | - public function html(Base $module, Core_Layout $layout, $print = false): string { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter | |
| 19 | + public function html(Base $module, Core_Layout $layout, bool $print = false): string { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter | |
| 20 | 20 | $img_dim = ''; |
| 21 | 21 | if (!empty($this->dimensions) && !empty($this->dimensions['w']) && !empty($this->dimensions['h'])) { |
| 22 | 22 | $img_dim = " width='{$this->dimensions['w']}' height='{$this->dimensions['h']}'"; |
| 23 | 23 | } |