Permalink
Browse files

codestyle

  • Loading branch information...
1 parent baf1f62 commit 692a8c6e3af92248937b3a6a60da28ed4b92b453 pce committed May 24, 2012
Showing with 5 additions and 7 deletions.
  1. +3 −3 Config/Lite.php
  2. +2 −4 README.md
View
@@ -336,9 +336,9 @@ public function getString($sec, $key, $default = null)
*/
public function get($sec = null, $key = null, $default = null)
{
- // handle get without parameters, because we can
- if ((null === $sec) && (null === $key) && (null === $default))
- return $this; // or $this->sections;
+ // handle get without parameters, because we can
+ if ((null === $sec) && (null === $key) && (null === $default))
+ return $this; // arrayaccess or $this->sections;
if ((null !== $sec) && array_key_exists($sec, $this->sections)
&& isset($this->sections[$sec][$key])
View
@@ -7,7 +7,7 @@ Description
a simple, lightweight and fast class for ini style configuration files,
with the native PHP function `parse_ini_file' under the hood.
-Config_Lite is inspired by Pythons ConfigParser. +
+Config_Lite is inspired by Pythons ConfigParser.
A "Config_Lite" file consists of global key/value pair (KVP) entries and optional sections,
@@ -230,6 +230,4 @@ Create an Issue with a Link to your forked branch.
https://github.com/pce/config_lite
-http://pear.php.net/pepr/pepr-proposal-show.php?id=645
-
-
+http://pear.php.net/package/Config_Lite

0 comments on commit 692a8c6

Please sign in to comment.