Completed
Push — resize ( 276f46...ca6118 )
by Mikael
69:50 queued 66:13
created
src/CImage/CImage.php 1 patch
Doc Comments   +10 added lines, -8 removed lines patch added patch discarded remove patch
@@ -754,7 +754,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
@@ -2527,7 +2529,7 @@  discard block
 block discarded – undo
2527 2529
      * @param string $format set to json to output file as json
2528 2530
      *                       object with details
2529 2531
      *
2530
-     * @return void
2532
+     * @return string|null
2531 2533
      */
2532 2534
     public function output($file = null, $format = null)
2533 2535
     {
@@ -2699,7 +2701,7 @@  discard block
 block discarded – undo
2699 2701
      *
2700 2702
      * @param string $message to log.
2701 2703
      *
2702
-     * @return this
2704
+     * @return CImage
2703 2705
      */
2704 2706
     public function log($message)
2705 2707
     {
Please login to merge, or discard this patch.