Indentation in README

This commit is contained in:
Gregwar 2020-04-28 10:43:03 +02:00
parent 3a4e31473a
commit 15bee25e9c
1 changed files with 7 additions and 7 deletions

View File

@ -45,9 +45,9 @@ Configuration
If you need to customize the global bundle configuration, you can create a `/config/packages/gregwar_captcha.yaml` file with your configuration: If you need to customize the global bundle configuration, you can create a `/config/packages/gregwar_captcha.yaml` file with your configuration:
``` yaml ``` yaml
gregwar_captcha: gregwar_captcha:
width: 160 width: 160
height: 50 height: 50
``` ```
Usage Usage
@ -57,10 +57,10 @@ You can use the "captcha" type in your forms this way:
``` php ``` php
<?php <?php
use Gregwar\CaptchaBundle\Type\CaptchaType; use Gregwar\CaptchaBundle\Type\CaptchaType;
// ... // ...
$builder->add('captcha', CaptchaType::class); // That's all ! $builder->add('captcha', CaptchaType::class); // That's all !
// ... // ...
``` ```
Note that the generated image will, by default, be embedded in the HTML document Note that the generated image will, by default, be embedded in the HTML document