Skip to content

Commit

Permalink
IBX-8536: Dropped deprecated graphql interface from implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Oct 21, 2024
1 parent 9043b6b commit 38c5c46
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/lib/GraphQL/Schema/MatrixFieldDefinitionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,17 @@

namespace Ibexa\FieldTypeMatrix\GraphQL\Schema;

use Ibexa\Contracts\Core\Repository\ContentTypeService;
use Ibexa\Contracts\Core\Repository\Values\ContentType\ContentType;
use Ibexa\Contracts\Core\Repository\Values\ContentType\FieldDefinition;
use Ibexa\Contracts\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\FieldDefinitionMapper;
use Ibexa\Core\Base\Exceptions\NotFoundException;
use Ibexa\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\DecoratingFieldDefinitionMapper;
use Ibexa\GraphQL\Schema\Domain\Content\Mapper\FieldDefinition\FieldDefinitionInputMapper;

class MatrixFieldDefinitionMapper extends DecoratingFieldDefinitionMapper implements FieldDefinitionMapper, FieldDefinitionInputMapper
class MatrixFieldDefinitionMapper extends DecoratingFieldDefinitionMapper implements FieldDefinitionMapper
{
/** @var \Ibexa\FieldTypeMatrix\GraphQL\Schema\NameHelper */
private $nameHelper;

/** @var \Ibexa\Contracts\Core\Repository\ContentTypeService */
private $contentTypeService;

/* @var iterable<\Ibexa\FieldTypeMatrix\FieldType\Mapper\FieldTypeToContentTypeStrategyInterface> */
private iterable $strategies;

Expand All @@ -33,13 +28,11 @@ class MatrixFieldDefinitionMapper extends DecoratingFieldDefinitionMapper implem
public function __construct(
FieldDefinitionMapper $innerMapper,
NameHelper $nameHelper,
ContentTypeService $contentTypeService,
iterable $strategies
) {
parent::__construct($innerMapper);

$this->nameHelper = $nameHelper;
$this->contentTypeService = $contentTypeService;
$this->strategies = $strategies;
}

Expand Down

0 comments on commit 38c5c46

Please sign in to comment.