Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Yaml] Removed useless else

  • Loading branch information...
commit bfb8c07375f314f2809f2bab24a0f0566113de87 1 parent a310e67
@pborreli pborreli authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Parser.php
View
4 Parser.php
@@ -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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.