]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/config/ConfigPhp.php
Cleanup: explicit method visibility
[github/shaarli/Shaarli.git] / application / config / ConfigPhp.php
index 27187b662f34c3e984d1097776017050e88c4d6a..9dd9a65dd5c35ba25ce43185c808fb0740171b0e 100644 (file)
@@ -71,7 +71,7 @@ class ConfigPhp implements ConfigIO
     /**
      * @inheritdoc
      */
-    function read($filepath)
+    public function read($filepath)
     {
         if (! file_exists($filepath) || ! is_readable($filepath)) {
             return array();
@@ -91,7 +91,7 @@ class ConfigPhp implements ConfigIO
     /**
      * @inheritdoc
      */
-    function write($filepath, $conf)
+    public function write($filepath, $conf)
     {
         $configStr = '<?php '. PHP_EOL;
         foreach (self::$ROOT_KEYS as $key) {
@@ -125,7 +125,7 @@ class ConfigPhp implements ConfigIO
     /**
      * @inheritdoc
      */
-    function getExtension()
+    public function getExtension()
     {
         return '.php';
     }