Fixed string
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Philipp Lang 2022-04-04 10:01:30 +02:00
parent d94f21c852
commit 347f056df0
1 changed files with 1 additions and 1 deletions

View File

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