Commit 2de12ce5 authored by Ivan Ternovtsiy's avatar Ivan Ternovtsiy

fix IOService notation to use interface instead of implementation

parent a269f0e5
......@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace ContextualCode\EzPlatformSearchBinaryExtractorBundle\FieldType\BinaryFile\BinaryExtractor;
use ContextualCode\EzPlatformSearchBinaryExtractorBundle\FieldType\BinaryFile\BinaryExtractor;
use eZ\Publish\Core\IO\IOService;
use eZ\Publish\Core\IO\IOServiceInterface;
use eZ\Publish\Core\IO\Values\BinaryFile;
use eZ\Publish\SPI\Persistence\Content\Field;
use Symfony\Component\Process\Process;
......@@ -14,10 +14,10 @@ class Pdf implements BinaryExtractor
{
protected const SUPPORTED_MIMETYPES = ['application/pdf'];
/** @var IOService */
/** @var IOServiceInterface */
private $ioService;
public function __construct(IOService $ioService)
public function __construct(IOServiceInterface $ioService)
{
$this->ioService = $ioService;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment