From e5b5fe7ba391f26193016b5214fa5b241a75c1e4 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 8 Mar 2016 08:46:02 +0100 Subject: [PATCH] Declare functions with access modifiers Parents have this visibility. Change-Id: Icb4d0a112def0ac02f9aa42723c81bc63c085450 --- includes/api/ApiStashEdit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/api/ApiStashEdit.php b/includes/api/ApiStashEdit.php index d8562b0d33..0d469a7aeb 100644 --- a/includes/api/ApiStashEdit.php +++ b/includes/api/ApiStashEdit.php @@ -433,19 +433,19 @@ class ApiStashEdit extends ApiBase { ]; } - function needsToken() { + public function needsToken() { return 'csrf'; } - function mustBePosted() { + public function mustBePosted() { return true; } - function isWriteMode() { + public function isWriteMode() { return true; } - function isInternal() { + public function isInternal() { return true; } } -- 2.20.1