@@ -1401,7 +1401,7 @@ discard block |
||
1401 | 1401 | * @param int $height Height of the image |
1402 | 1402 | * @param string $format Type of the image (valid types are png, jpeg, gif) |
1403 | 1403 | * |
1404 | - * @return boolean|resource The image or false if neither Imagick nor GD are found |
|
1404 | + * @return string|false The image or false if neither Imagick nor GD are found |
|
1405 | 1405 | */ |
1406 | 1406 | function generateTextImage($text, $width = 100, $height = 100, $format = 'png') |
1407 | 1407 | { |
@@ -1439,7 +1439,7 @@ discard block |
||
1439 | 1439 | * @param int $height Height of the image |
1440 | 1440 | * @param string $format Type of the image (valid types are png, jpeg, gif) |
1441 | 1441 | * |
1442 | - * @return resource|boolean The image |
|
1442 | + * @return string|false The image |
|
1443 | 1443 | */ |
1444 | 1444 | function generateTextImageWithGD($text, $width = 100, $height = 100, $format = 'png') |
1445 | 1445 | { |
@@ -1506,7 +1506,7 @@ discard block |
||
1506 | 1506 | * @param int $height Height of the image |
1507 | 1507 | * @param string $format Type of the image (valid types are png, jpeg, gif) |
1508 | 1508 | * |
1509 | - * @return boolean|resource The image or false on error |
|
1509 | + * @return string|false The image or false on error |
|
1510 | 1510 | */ |
1511 | 1511 | function generateTextImageWithIM($text, $width = 100, $height = 100, $format = 'png') |
1512 | 1512 | { |