Skip to content

Commit

Permalink
pear coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
pce committed Jul 2, 2012
1 parent 6e8184e commit 45d5bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Config/Lite.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ public function getString($sec, $key, $default = null)
public function get($sec = null, $key = null, $default = null) public function get($sec = null, $key = null, $default = null)
{ {
// handle get without parameters, because we can // handle get without parameters, because we can
if ((null === $sec) && (null === $key) && (null === $default)) if ((null === $sec) && (null === $key) && (null === $default)) {
return $this; // arrayaccess or $this->sections; return $this; // arrayaccess or $this->sections;

}
if ((null !== $sec) && array_key_exists($sec, $this->sections) if ((null !== $sec) && array_key_exists($sec, $this->sections)
&& isset($this->sections[$sec][$key]) && isset($this->sections[$sec][$key])
) { ) {
Expand Down

0 comments on commit 45d5bd4

Please sign in to comment.