fix markdown for code

This commit is contained in:
Jérémie Augustin 2012-05-25 15:14:30 +03:00
parent 023dbf809a
commit 09e5f4629d
1 changed files with 4 additions and 0 deletions

View File

@ -696,21 +696,25 @@
Before:
```
public function guessMinLength($class, $property)
{
if (/* condition */) {
return new ValueGuess($minLength, Guess::LOW_CONFIDENCE);
}
}
```
After:
```
public function guessPattern($class, $property)
{
if (/* condition */) {
return new ValueGuess('.{' . $minLength . ',}', Guess::LOW_CONFIDENCE);
}
}
```
* Setting the option "property_path" to `false` was deprecated and will be unsupported
as of Symfony 2.3.