Permalink
Browse files

[Yaml] Removed useless else

  • Loading branch information...
1 parent a310e67 commit bfb8c07375f314f2809f2bab24a0f0566113de87 @pborreli pborreli committed Feb 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Parser.php
View
@@ -343,9 +343,9 @@ protected function parseValue($value)
$modifiers = isset($matches['modifiers']) ? $matches['modifiers'] : '';
return $this->parseFoldedScalar($matches['separator'], preg_replace('#\d+#', '', $modifiers), intval(abs($modifiers)));
- } else {
- return Inline::load($value);
}
+
+ return Inline::load($value);
}
/**

0 comments on commit bfb8c07

Please sign in to comment.