Skip to content

Commit c5ed127

Browse files
committed
Used shorter namespaces
1 parent 0d584d8 commit c5ed127

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

src/CategoryLookup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public function __construct(
1616
private \Psr\Log\LoggerInterface $logger,
1717
private \Kiboko\Magento\V2_1\Client|\Kiboko\Magento\V2_2\Client|\Kiboko\Magento\V2_3\Client|\Kiboko\Magento\V2_4\Client $client,
18-
private \Symfony\Contracts\Cache\CacheInterface $cache,
18+
private CacheInterface $cache,
1919
private string $cacheKey,
2020
private CompiledMapperInterface $mapper,
2121
private string $mappingField,

src/CustomerExtractor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
use Kiboko\Component\Bucket\AcceptanceResultBucket;
88
use Kiboko\Component\Bucket\RejectionResultBucket;
99
use Kiboko\Contract\Bucket\ResultBucketInterface;
10+
use Kiboko\Contract\Pipeline\ExtractorInterface;
1011

11-
final class CustomerExtractor implements \Kiboko\Contract\Pipeline\ExtractorInterface
12+
final class CustomerExtractor implements ExtractorInterface
1213
{
1314
private array $queryParameters = [
1415
'searchCriteria[currentPage]' => 1,

src/InvoiceExtractor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
use Kiboko\Component\Bucket\AcceptanceResultBucket;
88
use Kiboko\Component\Bucket\RejectionResultBucket;
99
use Kiboko\Contract\Bucket\ResultBucketInterface;
10+
use Kiboko\Contract\Pipeline\ExtractorInterface;
1011

11-
final class InvoiceExtractor implements \Kiboko\Contract\Pipeline\ExtractorInterface
12+
final class InvoiceExtractor implements ExtractorInterface
1213
{
1314
private array $queryParameters = [
1415
'searchCriteria[currentPage]' => 1,

src/Lookup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
public function __construct(
1616
private \Psr\Log\LoggerInterface $logger,
1717
private \Kiboko\Magento\V2_1\Client|\Kiboko\Magento\V2_2\Client|\Kiboko\Magento\V2_3\Client|\Kiboko\Magento\V2_4\Client $client,
18-
private \Symfony\Contracts\Cache\CacheInterface $cache,
18+
private CacheInterface $cache,
1919
private string $cacheKey,
2020
private CompiledMapperInterface $mapper,
2121
private string $mappingField,

src/OrderExtractor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
use Kiboko\Component\Bucket\AcceptanceResultBucket;
88
use Kiboko\Component\Bucket\RejectionResultBucket;
99
use Kiboko\Contract\Bucket\ResultBucketInterface;
10+
use Kiboko\Contract\Pipeline\ExtractorInterface;
1011

11-
final class OrderExtractor implements \Kiboko\Contract\Pipeline\ExtractorInterface
12+
final class OrderExtractor implements ExtractorInterface
1213
{
1314
private array $queryParameters = [
1415
'searchCriteria[currentPage]' => 1,

src/ProductExtractor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
use Kiboko\Component\Bucket\AcceptanceResultBucket;
88
use Kiboko\Component\Bucket\RejectionResultBucket;
99
use Kiboko\Contract\Bucket\ResultBucketInterface;
10+
use Kiboko\Contract\Pipeline\ExtractorInterface;
1011

11-
final class ProductExtractor implements \Kiboko\Contract\Pipeline\ExtractorInterface
12+
final class ProductExtractor implements ExtractorInterface
1213
{
1314
private array $queryParameters = [
1415
'searchCriteria[currentPage]' => 1,

0 commit comments

Comments
 (0)