Fix parameter separation issue
This commit is contained in:
@ -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) {
|
||||
|
@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user