From 347f056df0d20b353cecdc6903882317844f5fb1 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Mon, 4 Apr 2022 10:01:30 +0200 Subject: [PATCH] Fixed string --- classes/TagGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/TagGenerator.php b/classes/TagGenerator.php index 67fe1da..a466c64 100644 --- a/classes/TagGenerator.php +++ b/classes/TagGenerator.php @@ -84,7 +84,7 @@ class TagGenerator $result = collect([]); foreach ($this->path->versions() as $version) { - if (1 === $version->get('height')) { + if ('1' === $version->get('height')) { continue; } if ($version->get('width') / ($version->get('height') + 1) > $aspectRatio || $version->get('width') / ($version->get('height') - 1) < $aspectRatio) {