Skip to content

Commit

Permalink
fixes else -> } else
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 authored and fabpot committed Jan 19, 2011
1 parent 1d31820 commit 54d2a55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Parser.php
Expand Up @@ -143,9 +143,8 @@ public function parse($value)
if ($isProcessed) {
// Merge keys
$data = $isProcessed;
}
// hash
else if (!isset($values['value']) || '' == trim($values['value'], ' ') || 0 === strpos(ltrim($values['value'], ' '), '#')) {
} else if (!isset($values['value']) || '' == trim($values['value'], ' ') || 0 === strpos(ltrim($values['value'], ' '), '#')) {
// if next line is less indented or equal, then it means that the current value is null
if ($this->isNextLineIndented()) {
$data[$key] = null;
Expand Down

0 comments on commit 54d2a55

Please sign in to comment.