fix markdown for code
This commit is contained in:
parent
023dbf809a
commit
09e5f4629d
|
@ -696,21 +696,25 @@
|
||||||
|
|
||||||
Before:
|
Before:
|
||||||
|
|
||||||
|
```
|
||||||
public function guessMinLength($class, $property)
|
public function guessMinLength($class, $property)
|
||||||
{
|
{
|
||||||
if (/* condition */) {
|
if (/* condition */) {
|
||||||
return new ValueGuess($minLength, Guess::LOW_CONFIDENCE);
|
return new ValueGuess($minLength, Guess::LOW_CONFIDENCE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
After:
|
After:
|
||||||
|
|
||||||
|
```
|
||||||
public function guessPattern($class, $property)
|
public function guessPattern($class, $property)
|
||||||
{
|
{
|
||||||
if (/* condition */) {
|
if (/* condition */) {
|
||||||
return new ValueGuess('.{' . $minLength . ',}', Guess::LOW_CONFIDENCE);
|
return new ValueGuess('.{' . $minLength . ',}', Guess::LOW_CONFIDENCE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
* Setting the option "property_path" to `false` was deprecated and will be unsupported
|
* Setting the option "property_path" to `false` was deprecated and will be unsupported
|
||||||
as of Symfony 2.3.
|
as of Symfony 2.3.
|
||||||
|
|
Reference in New Issue