@@ -85,9 +85,9 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * Parses a scalar to a YAML string |
87 | 87 | * |
88 | - * @param scalar $scalar |
|
88 | + * @param string $scalar |
|
89 | 89 | * @param string $delimiters |
90 | - * @param array $stringDelimiters |
|
90 | + * @param string[] $stringDelimiters |
|
91 | 91 | * @param int &$i |
92 | 92 | * @param bool $evaluate |
93 | 93 | * @param array $references |
@@ -145,6 +145,7 @@ discard block |
||
145 | 145 | * |
146 | 146 | * @param string $scalar |
147 | 147 | * @param int &$i |
148 | + * @param integer $i |
|
148 | 149 | * |
149 | 150 | * @throws ParseException When malformed inline YAML string is parsed |
150 | 151 | * @return string A YAML string |
@@ -82,7 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * Gets the snippet of code near the error |
84 | 84 | * |
85 | - * @return string The snippet of code |
|
85 | + * @return integer|null The snippet of code |
|
86 | 86 | */ |
87 | 87 | public function getSnippet() |
88 | 88 | { |
@@ -535,8 +535,6 @@ |
||
535 | 535 | /** |
536 | 536 | * Parses a block scalar |
537 | 537 | * |
538 | - * @param string $separator The style indicator that was used to begin this block scalar (| or >) |
|
539 | - * @param string $indicator The chomping indicator that was used to begin this block scalar (+ or -) |
|
540 | 538 | * @param int $indentation The indentation indicator that was used to begin this block scalar |
541 | 539 | * |
542 | 540 | * @return string The text value |