From 76338860190d940bc679aee8b0ba80b109961db3 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 24 Nov 2012 15:15:32 +0100 Subject: [PATCH] Follow up: I1b017e13 - Fix Strict Standards Strict Standards: Declaration of ForeignDBFile::publish() should be compatible with that of LocalFile::publish() in \includes\filerepo\file\ForeignDBFile.php on line 122 Change-Id: If3de7ec3a6794752bfe6ef7644b66497c1ad9c8b --- includes/filerepo/file/ForeignDBFile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/filerepo/file/ForeignDBFile.php b/includes/filerepo/file/ForeignDBFile.php index 91f6cb6259..a03df85e5e 100644 --- a/includes/filerepo/file/ForeignDBFile.php +++ b/includes/filerepo/file/ForeignDBFile.php @@ -57,9 +57,10 @@ class ForeignDBFile extends LocalFile { /** * @param $srcPath String * @param $flags int + * @param $options Array * @throws MWException */ - function publish( $srcPath, $flags = 0 ) { + function publish( $srcPath, $flags = 0, array $options = array() ) { $this->readOnlyError(); } -- 2.20.1