Permalink
Browse files

fixed phpdoc @param alignment

  • Loading branch information...
1 parent 2b7a2e0 commit e84e6373afb4faef66fd4e3a543a3da156583021 @fabpot fabpot committed May 15, 2012
Showing with 11 additions and 11 deletions.
  1. +3 −3 Dumper.php
  2. +6 −6 Parser.php
  3. +1 −1 Tests/Fixtures/sfTests.yml
  4. +1 −1 Yaml.php
View
6 Dumper.php
@@ -21,9 +21,9 @@ class Dumper
/**
* Dumps a PHP value to YAML.
*
- * @param mixed $input The PHP value
- * @param integer $inline The level where you switch to inline YAML
- * @param integer $indent The level of indentation (used internally)
+ * @param mixed $input The PHP value
+ * @param integer $inline The level where you switch to inline YAML
+ * @param integer $indent The level of indentation (used internally)
*
* @return string The YAML representation of the PHP value
*/
View
12 Parser.php
@@ -38,7 +38,7 @@ public function __construct($offset = 0)
/**
* Parses a YAML string to a PHP value.
*
- * @param string $value A YAML string
+ * @param string $value A YAML string
*
* @return mixed A PHP value
*
@@ -349,7 +349,7 @@ private function moveToPreviousLine()
/**
* Parses a YAML value.
*
- * @param string $value A YAML value
+ * @param string $value A YAML value
*
* @return mixed A PHP value
*
@@ -390,9 +390,9 @@ private function parseValue($value)
/**
* Parses a folded scalar.
*
- * @param string $separator The separator that was used to begin this folded scalar (| or >)
- * @param string $indicator The indicator that was used to begin this folded scalar (+ or -)
- * @param integer $indentation The indentation that was used to begin this folded scalar
+ * @param string $separator The separator that was used to begin this folded scalar (| or >)
+ * @param string $indicator The indicator that was used to begin this folded scalar (+ or -)
+ * @param integer $indentation The indentation that was used to begin this folded scalar
*
* @return string The text value
*/
@@ -525,7 +525,7 @@ private function isCurrentLineComment()
/**
* Cleanups a YAML string to be parsed.
*
- * @param string $value The input YAML string
+ * @param string $value The input YAML string
*
* @return string A cleaned up YAML string
*/
View
2 Tests/Fixtures/sfTests.yml
@@ -60,7 +60,7 @@ yaml: |
foo
-
+
bar
php: |
array('foo' => array('bar' => "foo\n\n\n \nbar\n"))
View
2 Yaml.php
@@ -95,7 +95,7 @@ static public function parse($input)
* The dump method, when supplied with an array, will do its best
* to convert the array into friendly YAML.
*
- * @param array $array PHP array
+ * @param array $array PHP array
* @param integer $inline The level where you switch to inline YAML
*
* @return string A YAML string representing the original PHP array

0 comments on commit e84e637

Please sign in to comment.