From 93b1fe54fb99efff30eec0d405cc7319fbbc1f95 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Thu, 5 Jan 2017 19:33:06 +0100 Subject: Cleanup: explicit method visibility Signed-off-by: VirtualTam --- application/config/ConfigJson.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/config/ConfigJson.php') diff --git a/application/config/ConfigJson.php b/application/config/ConfigJson.php index 30007eb4..6b5d73f1 100644 --- a/application/config/ConfigJson.php +++ b/application/config/ConfigJson.php @@ -10,7 +10,7 @@ class ConfigJson implements ConfigIO /** * @inheritdoc */ - function read($filepath) + public function read($filepath) { if (! is_readable($filepath)) { return array(); @@ -29,7 +29,7 @@ class ConfigJson implements ConfigIO /** * @inheritdoc */ - function write($filepath, $conf) + public function write($filepath, $conf) { // JSON_PRETTY_PRINT is available from PHP 5.4. $print = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 0; @@ -46,7 +46,7 @@ class ConfigJson implements ConfigIO /** * @inheritdoc */ - function getExtension() + public function getExtension() { return '.json.php'; } -- cgit v1.2.3