1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-20 04:31:24 +02:00

Fix type hint

This commit is contained in:
Oliver Vogel
2023-10-31 18:13:51 +01:00
parent 642bc5e8fa
commit 92c37c5dc6

View File

@@ -35,6 +35,6 @@ class ColorizeModifier implements ModifierInterface
private function normalizeLevel(int $level): int
{
return $level > 0 ? round($level / 5) : round(($level + 100) / 100);
return $level > 0 ? intval(round($level / 5)) : intval(round(($level + 100) / 100));
}
}