@@ -198,8 +198,6 @@ |
||
198 | 198 | /** |
199 | 199 | * Translate the luminance value to a character. |
200 | 200 | * |
201 | - * @param string $position a value between 0-100 representing the |
|
202 | - * luminance. |
|
203 | 201 | * |
204 | 202 | * @return string with the ascii character. |
205 | 203 | */ |
@@ -94,8 +94,6 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * Set header fields for the request. |
96 | 96 | * |
97 | - * @param string $field |
|
98 | - * @param string $value |
|
99 | 97 | * |
100 | 98 | * @return $this |
101 | 99 | */ |
@@ -227,7 +225,7 @@ discard block |
||
227 | 225 | /** |
228 | 226 | * Get file modification time of response. |
229 | 227 | * |
230 | - * @param mixed $default as default value (int seconds) if date is |
|
228 | + * @param integer $default as default value (int seconds) if date is |
|
231 | 229 | * missing in response header. |
232 | 230 | * |
233 | 231 | * @return int as timestamp or $default if Date is missing in |
@@ -245,7 +243,7 @@ discard block |
||
245 | 243 | /** |
246 | 244 | * Get max age of cachable item. |
247 | 245 | * |
248 | - * @param mixed $default as default value if date is missing in response |
|
246 | + * @param integer $default as default value if date is missing in response |
|
249 | 247 | * header. |
250 | 248 | * |
251 | 249 | * @return int as timestamp or false if not available. |
@@ -95,8 +95,8 @@ |
||
95 | 95 | /** |
96 | 96 | * Set the path to the cache directory. |
97 | 97 | * |
98 | - * @param boolean $use true to use the cache and false to ignore cache. |
|
99 | 98 | * |
99 | + * @param string $path |
|
100 | 100 | * @return $this |
101 | 101 | */ |
102 | 102 | public function setCache($path) |
@@ -754,7 +754,7 @@ discard block |
||
754 | 754 | /** |
755 | 755 | * Get filename of target file. |
756 | 756 | * |
757 | - * @return Boolean|String as filename of target or false if not set. |
|
757 | + * @return null|string as filename of target or false if not set. |
|
758 | 758 | */ |
759 | 759 | public function getTarget() |
760 | 760 | { |
@@ -1151,7 +1151,7 @@ discard block |
||
1151 | 1151 | /** |
1152 | 1152 | * Set extension for filename to save as. |
1153 | 1153 | * |
1154 | - * @param string $saveas extension to save image as |
|
1154 | + * @param string $saveAs extension to save image as |
|
1155 | 1155 | * |
1156 | 1156 | * @return $this |
1157 | 1157 | */ |
@@ -1474,8 +1474,8 @@ discard block |
||
1474 | 1474 | /** |
1475 | 1475 | * Get the type of PNG image as a verbose string. |
1476 | 1476 | * |
1477 | - * @param integer $type to use, default is to check the type. |
|
1478 | 1477 | * @param string $filename to use instead of default. |
1478 | + * @param integer $pngType |
|
1479 | 1479 | * |
1480 | 1480 | * @return int as the type of the png-image |
1481 | 1481 | * |
@@ -1610,6 +1610,8 @@ discard block |
||
1610 | 1610 | /** |
1611 | 1611 | * Resize and or crop the image. |
1612 | 1612 | * |
1613 | + * @param resource $dst_image |
|
1614 | + * @param resource $src_image |
|
1613 | 1615 | * @return void |
1614 | 1616 | */ |
1615 | 1617 | public function imageCopyResampled($dst_image, $src_image, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) |
@@ -1908,7 +1910,7 @@ discard block |
||
1908 | 1910 | * Rotate image using angle. |
1909 | 1911 | * |
1910 | 1912 | * @param float $angle to rotate image. |
1911 | - * @param int $anglebgColor to fill image with if needed. |
|
1913 | + * @param string $bgColor to fill image with if needed. |
|
1912 | 1914 | * |
1913 | 1915 | * @return $this |
1914 | 1916 | */ |
@@ -2183,7 +2185,7 @@ discard block |
||
2183 | 2185 | * |
2184 | 2186 | * @param resource $img the image to work with or null if using $this->image. |
2185 | 2187 | * |
2186 | - * @return color value or null if no background color is set. |
|
2188 | + * @return integer value or null if no background color is set. |
|
2187 | 2189 | */ |
2188 | 2190 | private function getBackgroundColor($img = null) |
2189 | 2191 | { |
@@ -2217,7 +2219,7 @@ discard block |
||
2217 | 2219 | * @param int $width of the new image. |
2218 | 2220 | * @param int $height of the new image. |
2219 | 2221 | * |
2220 | - * @return image resource. |
|
2222 | + * @return resource resource. |
|
2221 | 2223 | */ |
2222 | 2224 | private function createImageKeepTransparency($width, $height) |
2223 | 2225 | { |
@@ -2697,7 +2699,7 @@ discard block |
||
2697 | 2699 | * |
2698 | 2700 | * @param string $message to log. |
2699 | 2701 | * |
2700 | - * @return this |
|
2702 | + * @return CImage |
|
2701 | 2703 | */ |
2702 | 2704 | public function log($message) |
2703 | 2705 | { |
@@ -729,7 +729,7 @@ discard block |
||
729 | 729 | /** |
730 | 730 | * Get destination x. |
731 | 731 | * |
732 | - * @return integer as destination x |
|
732 | + * @return double as destination x |
|
733 | 733 | */ |
734 | 734 | public function getDestinationX() |
735 | 735 | { |
@@ -741,7 +741,7 @@ discard block |
||
741 | 741 | /** |
742 | 742 | * Get destination y. |
743 | 743 | * |
744 | - * @return integer as destination y |
|
744 | + * @return double as destination y |
|
745 | 745 | */ |
746 | 746 | public function getDestinationY() |
747 | 747 | { |
@@ -753,7 +753,7 @@ discard block |
||
753 | 753 | /** |
754 | 754 | * Get destination width. |
755 | 755 | * |
756 | - * @return integer as destination width |
|
756 | + * @return double as destination width |
|
757 | 757 | */ |
758 | 758 | public function getDestinationWidth() |
759 | 759 | { |
@@ -765,7 +765,7 @@ discard block |
||
765 | 765 | /** |
766 | 766 | * Get destination height. |
767 | 767 | * |
768 | - * @return integer as destination height |
|
768 | + * @return double as destination height |
|
769 | 769 | */ |
770 | 770 | public function getDestinationHeight() |
771 | 771 | { |
@@ -777,7 +777,7 @@ discard block |
||
777 | 777 | /** |
778 | 778 | * Get crop position x. |
779 | 779 | * |
780 | - * @return integer |
|
780 | + * @return double |
|
781 | 781 | */ |
782 | 782 | public function getCropX() |
783 | 783 | { |
@@ -789,7 +789,7 @@ discard block |
||
789 | 789 | /** |
790 | 790 | * Get crop position y. |
791 | 791 | * |
792 | - * @return integer |
|
792 | + * @return double |
|
793 | 793 | */ |
794 | 794 | public function getCropY() |
795 | 795 | { |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | /** |
802 | 802 | * Get crop width. |
803 | 803 | * |
804 | - * @return integer |
|
804 | + * @return double |
|
805 | 805 | */ |
806 | 806 | public function getCropWidth() |
807 | 807 | { |
@@ -813,7 +813,7 @@ discard block |
||
813 | 813 | /** |
814 | 814 | * Get crop height. |
815 | 815 | * |
816 | - * @return integer |
|
816 | + * @return double |
|
817 | 817 | */ |
818 | 818 | public function getCropHeight() |
819 | 819 | { |