Permalink
Browse files

removed else condition after return

  • Loading branch information...
1 parent b30cacc commit b45f32b659ec7050975405d891e32c243670cc96 @robertboloc committed Dec 17, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 library/Zend/Config/Reader/Ini.php
View
12 library/Zend/Config/Reader/Ini.php
@@ -155,14 +155,14 @@ private function buildNestedSection($sections, $value)
{
if(count($sections) == 0) {
return $this->processSection($value);
- } else {
- $nestedSection = array();
+ }
- $first = array_shift($sections);
- $nestedSection[$first] = $this->buildNestedSection($sections, $value);
+ $nestedSection = array();
- return $nestedSection;
- }
+ $first = array_shift($sections);
+ $nestedSection[$first] = $this->buildNestedSection($sections, $value);
+
+ return $nestedSection;
}
/**

0 comments on commit b45f32b

Please sign in to comment.