Fix parameter separation issue

This commit is contained in:
2025-07-08 18:06:49 +02:00
parent f4276818fe
commit d83f15fa56
2 changed files with 2 additions and 2 deletions

View File

@ -1067,7 +1067,7 @@ final class MDPuqi {
MDPuqiCheckSection::imageLicenses,
MDPuqiMessageStatus::warning,
$this->_tlLoader->tl("quality", "quality", "no_rightsholder") . ' (' . $no_rightsholder . ')',
self::QI_PENALTY_IMAGE_NO_OWNER * $no_rightsholder, min(self::THRESHOLD_MANY_IMAGES),
self::QI_PENALTY_IMAGE_NO_OWNER * min($no_rightsholder, self::THRESHOLD_MANY_IMAGES),
);
}
if ($no_license) {

View File

@ -34,7 +34,7 @@ final class MDPuqiTest extends TestCase {
/**
* Provider for image sizes. 0: width, 1: height, 2: expected status, 3: expected score.
*
* @return Generator<array{0: int, 1: int, 2: MDPuqiMessageStatus, 3:}>
* @return Generator<array{0: int, 1: int, 2: MDPuqiMessageStatus, 3: int}>
*/
public static function imgSizesProvider():Generator {