mirror of
https://github.com/Intervention/image.git
synced 2025-08-20 12:41:23 +02:00
Fix type hint
This commit is contained in:
@@ -35,6 +35,6 @@ class ColorizeModifier implements ModifierInterface
|
|||||||
|
|
||||||
private function normalizeLevel(int $level): int
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user