PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.37
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.37
3.37 3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 All 142 releases
← All changes | Components/Grid_Image.php +1 -1 3.33 → 3.37 View file →
@@ -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 }