@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * @param int $width |
| 34 | 34 | * @throws InvalidArgumentException |
| 35 | - * @return Rotate Chainable |
|
| 35 | + * @return AbstractCropEffect Chainable |
|
| 36 | 36 | */ |
| 37 | 37 | public function setWidth($width) |
| 38 | 38 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return float |
|
| 49 | + * @return integer |
|
| 50 | 50 | */ |
| 51 | 51 | public function width() |
| 52 | 52 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @return float |
|
| 73 | + * @return integer |
|
| 74 | 74 | */ |
| 75 | 75 | public function height() |
| 76 | 76 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
| 99 | - * @return float |
|
| 99 | + * @return integer |
|
| 100 | 100 | */ |
| 101 | 101 | public function x() |
| 102 | 102 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * @return float |
|
| 125 | + * @return integer |
|
| 126 | 126 | */ |
| 127 | 127 | public function x() |
| 128 | 128 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * @param array $data |
| 134 | 134 | * @throws Exception |
| 135 | - * @return AbstractResizeEffect Chainable |
|
| 135 | + * @return AbstractCropEffect Chainable |
|
| 136 | 136 | */ |
| 137 | 137 | public function process(array $data = null) |
| 138 | 138 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * @param integer $width |
| 155 | 155 | * @param integer $height |
| 156 | - * @param boolean $best_fit |
|
| 156 | + * @param integer $x |
|
| 157 | 157 | * @return void |
| 158 | 158 | */ |
| 159 | 159 | abstract protected function doCrop($x, $y, $width, $height); |