forked from leftypol/leftypol
MediaHandler.php: set installMediaAndGenerateThumb return type
This commit is contained in:
parent
3ad39e0cf3
commit
527f6372bb
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Vichan\Service\Media;
|
namespace Vichan\Service\Media;
|
||||||
|
|
||||||
|
use Vichan\Data\MediaInstallResult;
|
||||||
use Vichan\Data\ThumbGenerationResult;
|
use Vichan\Data\ThumbGenerationResult;
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,7 +60,7 @@ interface MediaHandler {
|
||||||
string $thumb_preferred_out_mime,
|
string $thumb_preferred_out_mime,
|
||||||
int $thumb_max_width,
|
int $thumb_max_width,
|
||||||
int $thumb_max_height
|
int $thumb_max_height
|
||||||
);
|
): MediaInstallResult;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates a thumbnail from the given file.
|
* Generates a thumbnail from the given file.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue