From 9671fd3ba6ae2dc48264e40ec4e61666b0052806 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 14 Mar 2013 16:46:30 -0700 Subject: [PATCH] Fixed E_STRICT warning: Strict Standards: Declaration of UploadFromChunks::stashFile() should be compatible with UploadBase::stashFile(User $user = NULL) Change-Id: If14d7aeacb23df16bff94c5989cde4ee31c1d105 --- includes/upload/UploadFromChunks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/upload/UploadFromChunks.php b/includes/upload/UploadFromChunks.php index fb0c786db2..e784e51098 100644 --- a/includes/upload/UploadFromChunks.php +++ b/includes/upload/UploadFromChunks.php @@ -66,7 +66,7 @@ class UploadFromChunks extends UploadFromFile { * * @return UploadStashFile stashed file */ - public function stashFile() { + public function stashFile( User $user = null ) { // Stash file is the called on creating a new chunk session: $this->mChunkIndex = 0; $this->mOffset = 0; -- 2.20.1