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) {