diff --git a/classes/submission/maps/Schema.php b/classes/submission/maps/Schema.php index fba0dc73b31..ca12c61cffa 100644 --- a/classes/submission/maps/Schema.php +++ b/classes/submission/maps/Schema.php @@ -15,6 +15,7 @@ use APP\core\Application; use APP\submission\Submission; +use Illuminate\Support\Collection; use PKP\submission\PKPSubmission; class Schema extends \PKP\submission\maps\Schema @@ -22,9 +23,9 @@ class Schema extends \PKP\submission\maps\Schema /** * @copydoc \PKP\submission\maps\Schema::mapByProperties() */ - protected function mapByProperties(array $props, Submission $submission): array + protected function mapByProperties(array $props, Submission $submission, bool|Collection $anonymizeReviews = false): array { - $output = parent::mapByProperties($props, $submission); + $output = parent::mapByProperties($props, $submission, $anonymizeReviews); if (in_array('urlPublished', $props)) { $output['urlPublished'] = $this->request->getDispatcher()->url(