diff --git a/src/Symfony/Component/Yaml/Dumper.php b/src/Symfony/Component/Yaml/Dumper.php index 8090e5ecb2..5a4b42af54 100644 --- a/src/Symfony/Component/Yaml/Dumper.php +++ b/src/Symfony/Component/Yaml/Dumper.php @@ -23,7 +23,7 @@ class Dumper * * @param mixed $input The PHP value * @param integer $inline The level where you switch to inline YAML - * @param integer $indent The level o indentation indentation (used internally) + * @param integer $indent The level of indentation (used internally) * * @return string The YAML representation of the PHP value */ diff --git a/src/Symfony/Component/Yaml/Inline.php b/src/Symfony/Component/Yaml/Inline.php index 9cc7b5932b..c4a2cd4f2d 100644 --- a/src/Symfony/Component/Yaml/Inline.php +++ b/src/Symfony/Component/Yaml/Inline.php @@ -20,7 +20,7 @@ class Inline const REGEX_QUOTED_STRING = '(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"|\'([^\']*(?:\'\'[^\']*)*)\')'; /** - * Convert a YAML string to a PHP array. + * Converts a YAML string to a PHP array. * * @param string $value A YAML string * @@ -380,7 +380,7 @@ class Inline } /** - * Get a regex that match a unix timestamp + * Gets a regex that matches an unix timestamp * * @return string The regular expression */ diff --git a/src/Symfony/Component/Yaml/Parser.php b/src/Symfony/Component/Yaml/Parser.php index ef97edf0f7..c7d641d891 100644 --- a/src/Symfony/Component/Yaml/Parser.php +++ b/src/Symfony/Component/Yaml/Parser.php @@ -293,6 +293,8 @@ class Parser /** * Moves the parser to the next line. + * + * @return Boolean */ protected function moveToNextLine() { @@ -320,7 +322,7 @@ class Parser * * @return mixed A PHP value * - * @throws ParserException When reference doesn't not exist + * @throws ParserException When reference does not exist */ protected function parseValue($value) { diff --git a/src/Symfony/Component/Yaml/Yaml.php b/src/Symfony/Component/Yaml/Yaml.php index 153f9e104d..4366162962 100644 --- a/src/Symfony/Component/Yaml/Yaml.php +++ b/src/Symfony/Component/Yaml/Yaml.php @@ -58,7 +58,7 @@ class Yaml * print_r($array); * * - * @param string $input Path of YAML file or string containing YAML + * @param string $input Path to a YAML file or a string containing YAML * * @return array The YAML converted to a PHP array *