@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * @param integer $inline Nesting level where you switch to inline YAML |
| 105 | 105 | * @param integer $indent Number of spaces to indent for nested nodes |
| 106 | 106 | * |
| 107 | - * @return integer|boolean number of bytes written, or false on error |
|
| 107 | + * @return null|false number of bytes written, or false on error |
|
| 108 | 108 | */ |
| 109 | 109 | public static function save($var, $yamlFile, $inline = 4, $indent = 4) |
| 110 | 110 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * @param integer $inline Nesting level where you switch to inline YAML |
| 131 | 131 | * @param integer $indent Number of spaces to indent for nested nodes |
| 132 | 132 | * |
| 133 | - * @return string|boolean YAML string or false on error |
|
| 133 | + * @return string|false YAML string or false on error |
|
| 134 | 134 | */ |
| 135 | 135 | public static function dumpWrapped($var, $inline = 4, $indent = 4) |
| 136 | 136 | { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * @param integer $inline Nesting level where you switch to inline YAML |
| 208 | 208 | * @param integer $indent Number of spaces to indent for nested nodes |
| 209 | 209 | * |
| 210 | - * @return integer|boolean number of bytes written, or false on error |
|
| 210 | + * @return null|false number of bytes written, or false on error |
|
| 211 | 211 | */ |
| 212 | 212 | public static function saveWrapped($var, $yamlFile, $inline = 4, $indent = 4) |
| 213 | 213 | { |