@@ -771,7 +771,7 @@ discard block |
||
| 771 | 771 | /** |
| 772 | 772 | * Get filename of target file. |
| 773 | 773 | * |
| 774 | - * @return Boolean|String as filename of target or false if not set. |
|
| 774 | + * @return null|string as filename of target or false if not set. |
|
| 775 | 775 | */ |
| 776 | 776 | public function getTarget() |
| 777 | 777 | { |
@@ -1001,7 +1001,7 @@ discard block |
||
| 1001 | 1001 | /** |
| 1002 | 1002 | * Get mime type for image type. |
| 1003 | 1003 | * |
| 1004 | - * @return $this |
|
| 1004 | + * @return string |
|
| 1005 | 1005 | * @throws Exception |
| 1006 | 1006 | */ |
| 1007 | 1007 | protected function getMimeType() |
@@ -1265,7 +1265,7 @@ discard block |
||
| 1265 | 1265 | /** |
| 1266 | 1266 | * Set extension for filename to save as. |
| 1267 | 1267 | * |
| 1268 | - * @param string $saveas extension to save image as |
|
| 1268 | + * @param string $saveAs extension to save image as |
|
| 1269 | 1269 | * |
| 1270 | 1270 | * @return $this |
| 1271 | 1271 | */ |
@@ -1593,8 +1593,8 @@ discard block |
||
| 1593 | 1593 | /** |
| 1594 | 1594 | * Get the type of PNG image as a verbose string. |
| 1595 | 1595 | * |
| 1596 | - * @param integer $type to use, default is to check the type. |
|
| 1597 | 1596 | * @param string $filename to use instead of default. |
| 1597 | + * @param integer $pngType |
|
| 1598 | 1598 | * |
| 1599 | 1599 | * @return int as the type of the png-image |
| 1600 | 1600 | * |
@@ -1729,6 +1729,12 @@ discard block |
||
| 1729 | 1729 | /** |
| 1730 | 1730 | * Resize and or crop the image. |
| 1731 | 1731 | * |
| 1732 | + * @param resource $dst_image |
|
| 1733 | + * @param resource $src_image |
|
| 1734 | + * @param integer $dst_x |
|
| 1735 | + * @param integer $dst_y |
|
| 1736 | + * @param integer $src_x |
|
| 1737 | + * @param integer $src_y |
|
| 1732 | 1738 | * @return void |
| 1733 | 1739 | */ |
| 1734 | 1740 | public function imageCopyResampled($dst_image, $src_image, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) |
@@ -2009,7 +2015,7 @@ discard block |
||
| 2009 | 2015 | * Rotate image using angle. |
| 2010 | 2016 | * |
| 2011 | 2017 | * @param float $angle to rotate image. |
| 2012 | - * @param int $anglebgColor to fill image with if needed. |
|
| 2018 | + * @param string $bgColor to fill image with if needed. |
|
| 2013 | 2019 | * |
| 2014 | 2020 | * @return $this |
| 2015 | 2021 | */ |
@@ -2284,7 +2290,7 @@ discard block |
||
| 2284 | 2290 | * |
| 2285 | 2291 | * @param resource $img the image to work with or null if using $this->image. |
| 2286 | 2292 | * |
| 2287 | - * @return color value or null if no background color is set. |
|
| 2293 | + * @return integer value or null if no background color is set. |
|
| 2288 | 2294 | */ |
| 2289 | 2295 | private function getBackgroundColor($img = null) |
| 2290 | 2296 | { |
@@ -2318,7 +2324,7 @@ discard block |
||
| 2318 | 2324 | * @param int $width of the new image. |
| 2319 | 2325 | * @param int $height of the new image. |
| 2320 | 2326 | * |
| 2321 | - * @return image resource. |
|
| 2327 | + * @return resource resource. |
|
| 2322 | 2328 | */ |
| 2323 | 2329 | private function createImageKeepTransparency($width, $height) |
| 2324 | 2330 | { |
@@ -2823,7 +2829,7 @@ discard block |
||
| 2823 | 2829 | * |
| 2824 | 2830 | * @param string $message to log. |
| 2825 | 2831 | * |
| 2826 | - * @return this |
|
| 2832 | + * @return CImage |
|
| 2827 | 2833 | */ |
| 2828 | 2834 | public function log($message) |
| 2829 | 2835 | { |