validation-bugsnag-email
This commit is contained in:
3
vendor/nette/utils/src/Utils/Image.php
vendored
3
vendor/nette/utils/src/Utils/Image.php
vendored
@@ -393,7 +393,8 @@ class Image
|
||||
$newWidth,
|
||||
$newHeight,
|
||||
int $flags = self::FIT
|
||||
): array {
|
||||
): array
|
||||
{
|
||||
if ($newWidth === null) {
|
||||
} elseif (self::isPercent($newWidth)) {
|
||||
$newWidth = (int) round($srcWidth / 100 * abs($newWidth));
|
||||
|
Reference in New Issue
Block a user