Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed else condition after return

  • Loading branch information...
commit b45f32b659ec7050975405d891e32c243670cc96 1 parent b30cacc
Robert Boloc authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 library/Zend/Config/Reader/Ini.php
12 library/Zend/Config/Reader/Ini.php
View
@@ -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;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.