diff options
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 2eb68d80..d7fd4baf 100644 --- a/application/config/ConfigPhp.php +++ b/application/config/ConfigPhp.php | |||
@@ -72,7 +72,7 @@ class ConfigPhp implements ConfigIO | |||
72 | /** | 72 | /** |
73 | * @inheritdoc | 73 | * @inheritdoc |
74 | */ | 74 | */ |
75 | function read($filepath) | 75 | public function read($filepath) |
76 | { | 76 | { |
77 | if (! file_exists($filepath) || ! is_readable($filepath)) { | 77 | if (! file_exists($filepath) || ! is_readable($filepath)) { |
78 | return array(); | 78 | return array(); |
@@ -92,7 +92,7 @@ class ConfigPhp implements ConfigIO | |||
92 | /** | 92 | /** |
93 | * @inheritdoc | 93 | * @inheritdoc |
94 | */ | 94 | */ |
95 | function write($filepath, $conf) | 95 | public function write($filepath, $conf) |
96 | { | 96 | { |
97 | $configStr = '<?php '. PHP_EOL; | 97 | $configStr = '<?php '. PHP_EOL; |
98 | foreach (self::$ROOT_KEYS as $key) { | 98 | foreach (self::$ROOT_KEYS as $key) { |
@@ -126,7 +126,7 @@ class ConfigPhp implements ConfigIO | |||
126 | /** | 126 | /** |
127 | * @inheritdoc | 127 | * @inheritdoc |
128 | */ | 128 | */ |
129 | function getExtension() | 129 | public function getExtension() |
130 | { | 130 | { |
131 | return '.php'; | 131 | return '.php'; |
132 | } | 132 | } |