@@ -11,29 +11,29 @@ |
||
| 11 | 11 | class CaptchaController extends Controller |
| 12 | 12 | { |
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * get CAPTCHA |
|
| 16 | - * |
|
| 17 | - * @param \Mews\Captcha\Captcha $captcha |
|
| 18 | - * @param string $config |
|
| 19 | - * @return \Intervention\Image\ImageManager->response |
|
| 20 | - */ |
|
| 21 | - public function getCaptcha(Captcha $captcha, $config = 'default') |
|
| 22 | - { |
|
| 23 | - ob_clean(); |
|
| 24 | - return $captcha->create($config); |
|
| 25 | - } |
|
| 14 | + /** |
|
| 15 | + * get CAPTCHA |
|
| 16 | + * |
|
| 17 | + * @param \Mews\Captcha\Captcha $captcha |
|
| 18 | + * @param string $config |
|
| 19 | + * @return \Intervention\Image\ImageManager->response |
|
| 20 | + */ |
|
| 21 | + public function getCaptcha(Captcha $captcha, $config = 'default') |
|
| 22 | + { |
|
| 23 | + ob_clean(); |
|
| 24 | + return $captcha->create($config); |
|
| 25 | + } |
|
| 26 | 26 | |
| 27 | - /** |
|
| 28 | - * get CAPTCHA api |
|
| 29 | - * |
|
| 30 | - * @param \Mews\Captcha\Captcha $captcha |
|
| 31 | - * @param string $config |
|
| 32 | - * @return \Intervention\Image\ImageManager->response |
|
| 33 | - */ |
|
| 34 | - public function getCaptchaApi(Captcha $captcha, $config = 'default') |
|
| 35 | - { |
|
| 36 | - return $captcha->create($config, true); |
|
| 37 | - } |
|
| 27 | + /** |
|
| 28 | + * get CAPTCHA api |
|
| 29 | + * |
|
| 30 | + * @param \Mews\Captcha\Captcha $captcha |
|
| 31 | + * @param string $config |
|
| 32 | + * @return \Intervention\Image\ImageManager->response |
|
| 33 | + */ |
|
| 34 | + public function getCaptchaApi(Captcha $captcha, $config = 'default') |
|
| 35 | + { |
|
| 36 | + return $captcha->create($config, true); |
|
| 37 | + } |
|
| 38 | 38 | |
| 39 | 39 | } |