Skip to content

Commit

Permalink
pkp/pkp-lib#8326 Updated function signature to match with parent class (
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir authored Oct 13, 2022
1 parent bdd03ac commit bc01fd9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classes/form/UploadImageForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ function deleteCoverImage($request) {

/**
* Save file image to Submission
* @param $request Request.
* @param mixed $functionArgs,... Arguments from the caller to be passed to the hook consumer
*/
function execute($request) {
function execute(...$functionArgs) {
$request = Application::get()->getRequest();
$publicationDao = DAORegistry::getDAO('PublicationDAO'); /* @var $publicationDao PublicationDAO */

$temporaryFile = $this->fetchTemporaryFile($request);
Expand Down

0 comments on commit bc01fd9

Please sign in to comment.