diff --git a/flextype/core/Parser.php b/flextype/core/Parser.php index 53a8d794..ed91e4c9 100644 --- a/flextype/core/Parser.php +++ b/flextype/core/Parser.php @@ -65,7 +65,7 @@ class Parser /** * Dumps a PHP value to a string CONTENT. * - * @param mixed $input Content to parse + * @param mixed $input Content to parse * @param string $parser Parser type [frontmatter, json, yaml] * * @return mixed PHP value converted to a string CONTENT. @@ -74,7 +74,7 @@ class Parser { switch ($parser) { case 'frontmatter': - return Parser::encode($input); + return Frontmatter::encode($input); break; case 'json': @@ -86,7 +86,6 @@ class Parser break; default: - break; } }