minor #18806 [YAML] Fixed upgrade file (HeahDude)

This PR was merged into the 3.1 branch.

Discussion
----------

[YAML] Fixed upgrade file

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

6bcb74d [YAML] fixed "dump" signature in upgrade file
This commit is contained in:
Christian Flothmann 2016-05-18 14:00:20 +02:00
commit d794f2f267

View File

@ -202,7 +202,7 @@ Yaml
After:
```php
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, false, Yaml::DUMP_OBJECT);
Yaml::dump(array('foo' => new A(), 'bar' => 1), 0, 0, Yaml::DUMP_OBJECT);
```
* The `!!php/object` tag to indicate dumped PHP objects has been deprecated