diff options
author | VirtualTam <virtualtam@flibidi.net> | 2017-01-05 19:33:06 +0100 |
---|---|---|
committer | VirtualTam <virtualtam+github@flibidi.net> | 2017-01-05 19:52:04 +0100 |
commit | 93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (patch) | |
tree | 21d2aa9b09c1944e19a4f8fe4741277a3213cc5b /application/config/ConfigPhp.php | |
parent | 724f1e322943b0506a4a4f17e78eaf4b2e464553 (diff) | |
download | Shaarli-93b1fe54fb99efff30eec0d405cc7319fbbc1f95.tar.gz Shaarli-93b1fe54fb99efff30eec0d405cc7319fbbc1f95.tar.zst Shaarli-93b1fe54fb99efff30eec0d405cc7319fbbc1f95.zip |
Cleanup: explicit method visibility
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/config/ConfigPhp.php')
-rw-r--r-- | application/config/ConfigPhp.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/config/ConfigPhp.php b/application/config/ConfigPhp.php index 27187b66..9dd9a65d 100644 --- a/application/config/ConfigPhp.php +++ b/application/config/ConfigPhp.php | |||
@@ -71,7 +71,7 @@ class ConfigPhp implements ConfigIO | |||
71 | /** | 71 | /** |
72 | * @inheritdoc | 72 | * @inheritdoc |
73 | */ | 73 | */ |
74 | function read($filepath) | 74 | public function read($filepath) |
75 | { | 75 | { |
76 | if (! file_exists($filepath) || ! is_readable($filepath)) { | 76 | if (! file_exists($filepath) || ! is_readable($filepath)) { |
77 | return array(); | 77 | return array(); |
@@ -91,7 +91,7 @@ class ConfigPhp implements ConfigIO | |||
91 | /** | 91 | /** |
92 | * @inheritdoc | 92 | * @inheritdoc |
93 | */ | 93 | */ |
94 | function write($filepath, $conf) | 94 | public function write($filepath, $conf) |
95 | { | 95 | { |
96 | $configStr = '<?php '. PHP_EOL; | 96 | $configStr = '<?php '. PHP_EOL; |
97 | foreach (self::$ROOT_KEYS as $key) { | 97 | foreach (self::$ROOT_KEYS as $key) { |
@@ -125,7 +125,7 @@ class ConfigPhp implements ConfigIO | |||
125 | /** | 125 | /** |
126 | * @inheritdoc | 126 | * @inheritdoc |
127 | */ | 127 | */ |
128 | function getExtension() | 128 | public function getExtension() |
129 | { | 129 | { |
130 | return '.php'; | 130 | return '.php'; |
131 | } | 131 | } |