Commit aab73a11 authored by Avris's avatar Avris

make determineNewImageSize public

parent 24a916ec
......@@ -324,7 +324,7 @@ final class Esse
return null;
}
$newSize = $this->determineNewSize($size, $width, $height);
$newSize = $this->determineNewImageSize($size, $width, $height);
if (!$newSize) {
return null;
}
......@@ -353,7 +353,7 @@ final class Esse
}
}
private function determineNewSize(string $size, int $width, int $height): ?array
public function determineNewImageSize(string $size, int $width, int $height): ?array
{
$targetSize = $this->imageSizes[$size] ?? null;
if (!$targetSize) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment