@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace NwLaravel\FileStorage; |
| 4 | 4 | |
| 5 | 5 | use Intervention\Image\ImageManager; |
| 6 | -use Intervention\Image\Image; |
|
| 7 | 6 | |
| 8 | 7 | class ImagineFactory |
| 9 | 8 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * @param integer $x |
| 129 | 129 | * @param integer $y |
| 130 | 130 | * |
| 131 | - * @return binary |
|
| 131 | + * @return ImagineGd |
|
| 132 | 132 | */ |
| 133 | 133 | public function crop($width, $height, $x, $y) |
| 134 | 134 | { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * @param string $format |
| 156 | 156 | * @param integer $quality |
| 157 | 157 | * |
| 158 | - * @return binary |
|
| 158 | + * @return Image |
|
| 159 | 159 | */ |
| 160 | 160 | public function encode($format = null, $quality = null) |
| 161 | 161 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | * @param string $path |
| 169 | 169 | * @param integer $quality |
| 170 | 170 | * |
| 171 | - * @return binary |
|
| 171 | + * @return ImagineGd |
|
| 172 | 172 | */ |
| 173 | 173 | public function save($path, $quality = null) |
| 174 | 174 | { |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | * @param integer $x |
| 207 | 207 | * @param integer $y |
| 208 | 208 | * |
| 209 | - * @return binary |
|
| 209 | + * @return Imagine |
|
| 210 | 210 | */ |
| 211 | 211 | public function crop($width, $height, $x, $y) |
| 212 | 212 | { |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | * @param string $format |
| 222 | 222 | * @param integer $quality |
| 223 | 223 | * |
| 224 | - * @return binary |
|
| 224 | + * @return string |
|
| 225 | 225 | */ |
| 226 | 226 | public function encode($format = null, $quality = null) |
| 227 | 227 | { |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | * @param string $path |
| 235 | 235 | * @param integer $quality |
| 236 | 236 | * |
| 237 | - * @return binary |
|
| 237 | + * @return ImagineImagick |
|
| 238 | 238 | */ |
| 239 | 239 | public function save($path, $quality = null) |
| 240 | 240 | { |