Fix parameter separation issue
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -1067,7 +1067,7 @@ public function checkImageLicenses(array $rightsstatus):void {
|
||||
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 @@ public static function licenseProvider():Generator {
|
||||
/**
|
||||
* 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