aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/ConfigPhp.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/ConfigPhp.php')
-rw-r--r--application/config/ConfigPhp.php6
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 }