@@ -575,10 +575,10 @@ |
||
| 575 | 575 | * @param string $filename Full path+file name of the file in the filesystem |
| 576 | 576 | * @param string $eTag ETag cache validator |
| 577 | 577 | * @param string $mime_type The mime-type of the file |
| 578 | - * @param blloean $use_compression If use gzip compression |
|
| 578 | + * @param boolean $use_compression If use gzip compression |
|
| 579 | 579 | * @param string $disposition The value of the Content-Disposition header |
| 580 | 580 | * @param string $real_filename The original name of the file |
| 581 | - * @param blloean $do_cache If send the a max-age header or not |
|
| 581 | + * @param boolean $do_cache If send the a max-age header or not |
|
| 582 | 582 | * @param blloean $check_filename When false, any check on $filename is skipped |
| 583 | 583 | */ |
| 584 | 584 | protected function _send_headers($filename, $eTag, $mime_type, $use_compression, $disposition, $real_filename, $do_cache, $check_filename = true) |
@@ -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 | { |