fix markdown markup

This commit is contained in:
Christian Flothmann 2021-07-02 16:57:58 +02:00
parent c296159beb
commit 501fa51cdf
1 changed files with 11 additions and 11 deletions

View File

@ -22,22 +22,22 @@ Form
* Deprecated `PropertyPathMapper` in favor of `DataMapper` and `PropertyPathAccessor`. * Deprecated `PropertyPathMapper` in favor of `DataMapper` and `PropertyPathAccessor`.
Before: Before:
```php ```php
use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper; use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
$builder->setDataMapper(new PropertyPathMapper()); $builder->setDataMapper(new PropertyPathMapper());
``` ```
After: After:
```php ```php
use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor; use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper; use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
$builder->setDataMapper(new DataMapper(new PropertyPathAccessor())); $builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
``` ```
HttpFoundation HttpFoundation
-------------- --------------