build: Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiUploadTestCase.php
index cf56052..9d3e502 100644 (file)
@@ -121,7 +121,7 @@ abstract class ApiUploadTestCase extends ApiTestCase {
                return true;
        }
 
-       function fakeUploadChunk( $fieldName, $fileName, $type, & $chunkData ) {
+       public function fakeUploadChunk( $fieldName, $fileName, $type, &$chunkData ) {
                $tmpName = $this->getNewTempFile();
                // copy the chunk data to temp location:
                if ( !file_put_contents( $tmpName, $chunkData ) ) {