Commit dd47668c by Alexander Makarov

added missing return tags to CaptchaAction

parent 02f80624
...@@ -226,6 +226,7 @@ class CaptchaAction extends Action ...@@ -226,6 +226,7 @@ class CaptchaAction extends Action
/** /**
* Renders the CAPTCHA image. * Renders the CAPTCHA image.
* @param string $code the verification code * @param string $code the verification code
* @return string image contents
*/ */
protected function renderImage($code) protected function renderImage($code)
{ {
...@@ -239,6 +240,7 @@ class CaptchaAction extends Action ...@@ -239,6 +240,7 @@ class CaptchaAction extends Action
/** /**
* Renders the CAPTCHA image based on the code using GD library. * Renders the CAPTCHA image based on the code using GD library.
* @param string $code the verification code * @param string $code the verification code
* @return string image contents
*/ */
protected function renderImageByGD($code) protected function renderImageByGD($code)
{ {
...@@ -286,6 +288,7 @@ class CaptchaAction extends Action ...@@ -286,6 +288,7 @@ class CaptchaAction extends Action
/** /**
* Renders the CAPTCHA image based on the code using ImageMagick library. * Renders the CAPTCHA image based on the code using ImageMagick library.
* @param string $code the verification code * @param string $code the verification code
* @return \Imagick image instance. Can be used as string. In this case it will contain image contents.
*/ */
protected function renderImageByImagick($code) protected function renderImageByImagick($code)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment