Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed else condition after return

  • Loading branch information...
commit b45f32b659ec7050975405d891e32c243670cc96 1 parent b30cacc
Robert Boloc authored

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. +6 6 library/Zend/Config/Reader/Ini.php
12 library/Zend/Config/Reader/Ini.php
@@ -155,14 +155,14 @@ private function buildNestedSection($sections, $value)
155 155 {
156 156 if(count($sections) == 0) {
157 157 return $this->processSection($value);
158   - } else {
159   - $nestedSection = array();
  158 + }
160 159
161   - $first = array_shift($sections);
162   - $nestedSection[$first] = $this->buildNestedSection($sections, $value);
  160 + $nestedSection = array();
163 161
164   - return $nestedSection;
165   - }
  162 + $first = array_shift($sections);
  163 + $nestedSection[$first] = $this->buildNestedSection($sections, $value);
  164 +
  165 + return $nestedSection;
166 166 }
167 167
168 168 /**

0 comments on commit b45f32b

Please sign in to comment.
Something went wrong with that request. Please try again.