Skip to content

Commit 48b7e83

Browse files
authored
Fixes PHPCS issues for phpstan v12.4 (#1085)
1 parent 34bef3f commit 48b7e83

File tree

254 files changed

+523
-560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+523
-560
lines changed

modules/apigee_edge_actions/apigee_edge_actions.tokens.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
*/
2525

2626

27-
use Drupal\apigee_edge\Entity\EdgeEntityInterface;
2827
use Drupal\Component\Utility\Html;
2928
use Drupal\Core\Render\BubbleableMetadata;
29+
use Drupal\apigee_edge\Entity\EdgeEntityInterface;
3030

3131
/**
3232
* Implements hook_token_info_alter().
@@ -79,7 +79,7 @@ function apigee_edge_actions_tokens($type, $tokens, array $data, array $options,
7979
$replacements = [];
8080

8181
if ($type == 'entity' && !empty($data['entity_type']) && !empty($data['entity']) && !empty($data['token_type'])) {
82-
/* @var \Drupal\Core\Entity\ContentEntityInterface $entity */
82+
/** @var \Drupal\Core\Entity\ContentEntityInterface $entity */
8383
$entity = $data['entity'];
8484

8585
if ($entity instanceof EdgeEntityInterface) {

modules/apigee_edge_actions/modules/apigee_edge_actions_debug/src/EventSubscriber/ApigeeEdgeActionsDebugEventSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
namespace Drupal\apigee_edge_actions_debug\EventSubscriber;
2222

23+
use Drupal\Core\Logger\LoggerChannelInterface;
2324
use Drupal\apigee_edge_actions\Event\ApigeeEdgeActionsEventInterface;
2425
use Drupal\apigee_edge_actions\Event\EdgeEntityEventEdge;
25-
use Drupal\Core\Logger\LoggerChannelInterface;
2626
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
2727

2828
/**

modules/apigee_edge_actions/src/ApigeeActionsEntityTypeHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
namespace Drupal\apigee_edge_actions;
2222

23-
use Drupal\apigee_edge\Entity\FieldableEdgeEntityInterface;
2423
use Drupal\Core\Entity\EntityTypeInterface;
2524
use Drupal\Core\Entity\EntityTypeManagerInterface;
25+
use Drupal\apigee_edge\Entity\FieldableEdgeEntityInterface;
2626

2727
/**
2828
* Defines the apigee_edge_actions.edge_entity_type_manager service.

modules/apigee_edge_actions/src/Event/EdgeEntityEventBase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* Base class for Edge events.
2727
*
28-
* TODO: Rules does not support non GenericEvent context.
28+
* @todo Rules does not support non GenericEvent context.
2929
*/
3030
abstract class EdgeEntityEventBase extends GenericEvent {
3131

modules/apigee_edge_actions/src/EventSubscriber/AppCredentialEventSubscriber.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
namespace Drupal\apigee_edge_actions\EventSubscriber;
2222

23-
use Drupal\apigee_edge\Entity\AppInterface;
24-
use Drupal\apigee_edge\Event\AppCredentialAddApiProductEvent;
25-
use Drupal\apigee_edge\Event\AppCredentialDeleteApiProductEvent;
26-
use Drupal\apigee_edge_actions\Event\EdgeEntityEventEdge;
2723
use Drupal\Component\Plugin\Exception\PluginException;
2824
use Drupal\Core\Entity\EntityTypeManagerInterface;
2925
use Drupal\Core\Logger\LoggerChannelInterface;
3026
use Drupal\Core\Session\AccountInterface;
27+
use Drupal\apigee_edge\Entity\AppInterface;
28+
use Drupal\apigee_edge\Event\AppCredentialAddApiProductEvent;
29+
use Drupal\apigee_edge\Event\AppCredentialDeleteApiProductEvent;
30+
use Drupal\apigee_edge_actions\Event\EdgeEntityEventEdge;
3131
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
3232
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
3333
use Symfony\Contracts\EventDispatcher\Event;
@@ -177,17 +177,17 @@ protected function dispatchRulesEvent(string $rules_event_name, Event $event, ar
177177
* The app with the provided name or null.
178178
*/
179179
protected function getAppByName(string $name, string $owner_id, string $app_type): ?AppInterface {
180-
/* @var \Drupal\apigee_edge\Entity\AppInterface $appClass */
180+
/** @var \Drupal\apigee_edge\Entity\AppInterface $appClass */
181181
$appClass = $this->entityTypeManger->getStorage("{$app_type}_app")->getEntityType()->getClass();
182182

183183
try {
184184
if ($app_type == 'developer') {
185-
/* @var \Drupal\apigee_edge\Entity\Controller\DeveloperAppControllerFactoryInterface $controller */
185+
/** @var \Drupal\apigee_edge\Entity\Controller\DeveloperAppControllerFactoryInterface $controller */
186186
$controller = \Drupal::service('apigee_edge.controller.developer_app_controller_factory');
187187
$edge_app = $controller->developerAppController($owner_id)->load($name);
188188
}
189189
else {
190-
/* @var \Drupal\apigee_edge_teams\Entity\Controller\TeamAppControllerFactory $controller */
190+
/** @var \Drupal\apigee_edge_teams\Entity\Controller\TeamAppControllerFactory $controller */
191191
$controller = \Drupal::service('apigee_edge_teams.controller.team_app_controller_factory');
192192
$edge_app = $controller->teamAppController($owner_id)->load($name);
193193
}

modules/apigee_edge_actions/src/Plugin/RulesAction/LogMessage.php

-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020

2121
namespace Drupal\apigee_edge_actions\Plugin\RulesAction;
2222

23-
use Drupal\Core\Annotation\ContextDefinition;
2423
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
25-
use Drupal\rules\Core\Annotation\RulesAction;
2624
use Drupal\rules\Core\RulesActionBase;
2725
use Psr\Log\LoggerInterface;
2826
use Symfony\Component\DependencyInjection\ContainerInterface;

modules/apigee_edge_actions/src/Plugin/RulesAction/SystemEmailToUsersOfRole.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static function create(ContainerInterface $container, array $configuratio
8181
/**
8282
* {@inheritdoc}
8383
*/
84-
protected function doExecute(array $roles, $subject, $message, $reply = NULL, LanguageInterface $language = NULL) {
84+
protected function doExecute(array $roles, $subject, $message, $reply = NULL, ?LanguageInterface $language = NULL) {
8585
// SystemMailToUsersOfRole::doExecute() expects an array of RoleInterface.
8686
// Upcast is done in RulesActionBase.
8787
parent::doExecute($roles, $subject, $message, $reply, $language);

modules/apigee_edge_actions/src/Plugin/RulesEvent/EdgeEntityEventDeriverBase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
namespace Drupal\apigee_edge_actions\Plugin\RulesEvent;
2222

23+
use Drupal\Component\Plugin\Derivative\DeriverBase;
24+
use Drupal\Core\StringTranslation\StringTranslationTrait;
2325
use Drupal\apigee_edge\Entity\AppInterface;
2426
use Drupal\apigee_edge\Entity\EdgeEntityTypeInterface;
2527
use Drupal\apigee_edge_actions\ApigeeActionsEntityTypeHelperInterface;
2628
use Drupal\apigee_edge_teams\Entity\TeamAppInterface;
27-
use Drupal\Component\Plugin\Derivative\DeriverBase;
28-
use Drupal\Core\StringTranslation\StringTranslationTrait;
2929
use Symfony\Component\DependencyInjection\ContainerInterface;
3030

3131
/**

modules/apigee_edge_actions/src/Plugin/RulesEvent/EdgeEntityEventDeriverInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\apigee_edge_actions\Plugin\RulesEvent;
2222

23-
use Drupal\apigee_edge\Entity\EdgeEntityTypeInterface;
2423
use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
24+
use Drupal\apigee_edge\Entity\EdgeEntityTypeInterface;
2525

2626
/**
2727
* Provides an interface for Apigee Edge entity event deriver.

modules/apigee_edge_actions/src/TeamMembershipManager.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
namespace Drupal\apigee_edge_actions;
2222

23+
use Drupal\Core\Cache\CacheTagsInvalidatorInterface;
24+
use Drupal\Core\Entity\EntityTypeManagerInterface;
2325
use Drupal\apigee_edge\Entity\Controller\DeveloperControllerInterface;
2426
use Drupal\apigee_edge\Entity\DeveloperCompaniesCacheInterface;
2527
use Drupal\apigee_edge_actions\Event\EdgeEntityEventEdge;
2628
use Drupal\apigee_edge_teams\CompanyMembersControllerFactoryInterface;
2729
use Drupal\apigee_edge_teams\TeamMembershipManagerInterface;
28-
use Drupal\Core\Cache\CacheTagsInvalidatorInterface;
29-
use Drupal\Core\Entity\EntityTypeManagerInterface;
3030
use Drupal\user\UserInterface;
3131
use Psr\Log\LoggerInterface;
3232
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -151,7 +151,7 @@ public function removeMembers(string $team, array $developers): void {
151151
/**
152152
* {@inheritdoc}
153153
*/
154-
public function getTeams(string $developer, string $team = NULL): array {
154+
public function getTeams(string $developer, ?string $team = NULL): array {
155155
return $this->inner->getTeams($developer, $team);
156156
}
157157

modules/apigee_edge_actions/tests/src/Kernel/ApigeeEdgeActionsRulesKernelTestBase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel;
2222

23-
use Drupal\apigee_edge\Plugin\EdgeKeyTypeInterface;
2423
use Drupal\Core\Database\Database;
25-
use Drupal\dblog\Controller\DbLogController;
2624
use Drupal\Tests\apigee_mock_api_client\Traits\ApigeeMockApiClientHelperTrait;
2725
use Drupal\Tests\rules\Kernel\RulesKernelTestBase;
26+
use Drupal\apigee_edge\Plugin\EdgeKeyTypeInterface;
27+
use Drupal\dblog\Controller\DbLogController;
2828
use Drupal\user\Entity\User;
2929
use Symfony\Component\HttpFoundation\Response;
3030

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesAction/SystemEmailToUsersOfRoleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesAction;
2222

23-
use Drupal\rules\Context\ContextConfig;
2423
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
24+
use Drupal\rules\Context\ContextConfig;
2525

2626
/**
2727
* Tests Edge entity add_member event.

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityAddMemberEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23-
use Drupal\rules\Context\ContextConfig;
2423
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
24+
use Drupal\rules\Context\ContextConfig;
2525

2626
/**
2727
* Tests Edge entity add_member event.

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityAddProductEventTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23+
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
2324
use Drupal\apigee_edge\Entity\ApiProduct;
2425
use Drupal\rules\Context\ContextConfig;
25-
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
2626

2727
/**
2828
* Tests Edge entity add_product event.
@@ -103,7 +103,7 @@ public function testEvent() {
103103
$this->queueDeveloperResponse($this->account);
104104
$this->stack->queueMockResponse([
105105
'get_developer_apps' => [
106-
'apps' => [$developer_app]
106+
'apps' => [$developer_app],
107107
],
108108
]);
109109

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityDeleteEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23-
use Drupal\rules\Context\ContextConfig;
2423
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
24+
use Drupal\rules\Context\ContextConfig;
2525

2626
/**
2727
* Tests Edge entity delete event.

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityInsertEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23-
use Drupal\rules\Context\ContextConfig;
2423
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
24+
use Drupal\rules\Context\ContextConfig;
2525

2626
/**
2727
* Tests Edge entity insert event.

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityRemoveMemberEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23-
use Drupal\rules\Context\ContextConfig;
2423
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
24+
use Drupal\rules\Context\ContextConfig;
2525

2626
/**
2727
* Tests Edge entity remove_member event.

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityRemoveProductEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23+
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
2324
use Drupal\apigee_edge\Entity\ApiProduct;
2425
use Drupal\rules\Context\ContextConfig;
25-
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
2626

2727
/**
2828
* Tests Edge entity remove_product event.

modules/apigee_edge_actions/tests/src/Kernel/Plugin/RulesEvent/EdgeEntityUpdateEventTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
namespace Drupal\Tests\apigee_edge_actions\Kernel\Plugin\RulesEvent;
2222

23-
use Drupal\rules\Context\ContextConfig;
2423
use Drupal\Tests\apigee_edge_actions\Kernel\ApigeeEdgeActionsRulesKernelTestBase;
24+
use Drupal\rules\Context\ContextConfig;
2525

2626
/**
2727
* Tests Edge entity update event.

modules/apigee_edge_apiproduct_rbac/tests/modules/apigee_edge_apiproduct_rbac_test/src/ApiProductController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
use Apigee\Edge\Exception\ApiException;
2828
use Apigee\Edge\Structure\AttributesProperty;
2929
use Apigee\Edge\Structure\PagerInterface;
30-
use Drupal\apigee_edge\Entity\Controller\ApiProductControllerInterface;
3130
use Drupal\Core\State\StateInterface;
31+
use Drupal\apigee_edge\Entity\Controller\ApiProductControllerInterface;
3232

3333
/**
3434
* API product controller that reads and writes attributes from/to States API.
@@ -139,7 +139,7 @@ public function delete(string $entity_id): EntityInterface {
139139
/**
140140
* {@inheritdoc}
141141
*/
142-
public function getEntities(PagerInterface $pager = NULL, string $key_provider = 'id'): array {
142+
public function getEntities(?PagerInterface $pager = NULL, string $key_provider = 'id'): array {
143143
/** @var \Drupal\apigee_edge\Entity\ApiProductInterface $entity */
144144
$ids = array_map(function ($id) {
145145
return $this->generateApiProductStateKey($id);
@@ -255,7 +255,7 @@ public function createPager(int $limit = 0, ?string $startKey = NULL): PagerInte
255255
/**
256256
* {@inheritdoc}
257257
*/
258-
public function getEntityIds(PagerInterface $pager = NULL): array {
258+
public function getEntityIds(?PagerInterface $pager = NULL): array {
259259
return $this->innerService->getEntityIds($pager);
260260
}
261261

modules/apigee_edge_apiproduct_rbac/tests/modules/apigee_edge_apiproduct_rbac_test/src/ApiProductStorage.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
namespace Drupal\apigee_edge_apiproduct_rbac_test;
2222

23-
use Drupal\apigee_edge\Entity\Controller\ApiProductControllerInterface;
24-
use Drupal\apigee_edge\Entity\Storage\ApiProductStorage as OriginalApiProductStorage;
2523
use Drupal\Component\Datetime\TimeInterface;
2624
use Drupal\Core\Cache\CacheBackendInterface;
2725
use Drupal\Core\Cache\MemoryCache\MemoryCacheInterface;
2826
use Drupal\Core\Config\ConfigFactoryInterface;
2927
use Drupal\Core\Entity\EntityTypeInterface;
3028
use Drupal\Core\State\StateInterface;
29+
use Drupal\apigee_edge\Entity\Controller\ApiProductControllerInterface;
30+
use Drupal\apigee_edge\Entity\Storage\ApiProductStorage as OriginalApiProductStorage;
3131
use Symfony\Component\DependencyInjection\ContainerInterface;
3232

3333
/**

modules/apigee_edge_apiproduct_rbac/tests/src/FunctionalJavascript/ApiProductRoleBasedAccessTestBase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
namespace Drupal\Tests\apigee_edge_apiproduct_rbac\FunctionalJavascript;
2222

23-
use Drupal\apigee_edge\Entity\ApiProductInterface;
2423
use Drupal\Core\Url;
2524
use Drupal\Tests\apigee_edge\FunctionalJavascript\ApiProductAccessTest;
25+
use Drupal\apigee_edge\Entity\ApiProductInterface;
2626
use Drupal\user\UserInterface;
2727

2828
/**

modules/apigee_edge_debug/src/DebugMessageFormatterPluginManager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
namespace Drupal\apigee_edge_debug;
2222

23-
use Drupal\apigee_edge_debug\Annotation\DebugMessageFormatter;
24-
use Drupal\apigee_edge_debug\Plugin\DebugMessageFormatter\DebugMessageFormatterPluginInterface;
2523
use Drupal\Core\Cache\CacheBackendInterface;
2624
use Drupal\Core\Extension\ModuleHandlerInterface;
2725
use Drupal\Core\Plugin\DefaultPluginManager;
26+
use Drupal\apigee_edge_debug\Annotation\DebugMessageFormatter;
27+
use Drupal\apigee_edge_debug\Plugin\DebugMessageFormatter\DebugMessageFormatterPluginInterface;
2828

2929
/**
3030
* Provides a debug message formatter plugin manager.

modules/apigee_edge_debug/src/Form/ConfigForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
namespace Drupal\apigee_edge_debug\Form;
2222

23-
use Drupal\apigee_edge_debug\DebugMessageFormatterPluginManager;
2423
use Drupal\Core\Config\ConfigFactoryInterface;
2524
use Drupal\Core\Form\ConfigFormBase;
2625
use Drupal\Core\Form\FormStateInterface;
26+
use Drupal\apigee_edge_debug\DebugMessageFormatterPluginManager;
2727
use Symfony\Component\DependencyInjection\ContainerInterface;
2828

2929
/**

modules/apigee_edge_debug/src/HttpClientMiddleware/ApiClientProfiler.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
namespace Drupal\apigee_edge_debug\HttpClientMiddleware;
2222

23+
use Drupal\Core\Config\ConfigFactoryInterface;
2324
use Drupal\apigee_edge_debug\DebugMessageFormatterPluginManager;
2425
use Drupal\apigee_edge_debug\SDKConnector;
25-
use Drupal\Core\Config\ConfigFactoryInterface;
2626
use GuzzleHttp\RequestOptions;
2727
use GuzzleHttp\TransferStats;
2828
use Psr\Http\Message\RequestInterface;
29-
use Psr\Log\LoggerInterface;
3029
use Psr\Log\LogLevel;
30+
use Psr\Log\LoggerInterface;
3131

3232
/**
3333
* Http client middleware that profiles Apigee Edge API calls.

modules/apigee_edge_debug/src/HttpClientMiddleware/DevelKintApiClientProfiler.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020

2121
namespace Drupal\apigee_edge_debug\HttpClientMiddleware;
2222

23-
use Drupal\apigee_edge_debug\DebugMessageFormatterPluginManager;
24-
use Drupal\apigee_edge_debug\SDKConnector;
2523
use Drupal\Core\Config\ConfigFactoryInterface;
2624
use Drupal\Core\Extension\ModuleHandlerInterface;
2725
use Drupal\Core\Messenger\MessengerInterface;
2826
use Drupal\Core\Session\AccountInterface;
27+
use Drupal\apigee_edge_debug\DebugMessageFormatterPluginManager;
2928
use GuzzleHttp\RequestOptions;
3029
use GuzzleHttp\TransferStats;
3130
use Psr\Http\Message\RequestInterface;

modules/apigee_edge_debug/src/SDKConnector.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
namespace Drupal\apigee_edge_debug;
2222

23-
use Drupal\apigee_edge\SDKConnector as OriginalSDKConnector;
24-
use Drupal\apigee_edge\SDKConnectorInterface;
2523
use Drupal\Core\Config\ConfigFactoryInterface;
2624
use Drupal\Core\Entity\EntityTypeManagerInterface;
2725
use Drupal\Core\Extension\InfoParserInterface;
2826
use Drupal\Core\Extension\ModuleHandlerInterface;
2927
use Drupal\Core\Http\ClientFactory;
28+
use Drupal\apigee_edge\SDKConnector as OriginalSDKConnector;
29+
use Drupal\apigee_edge\SDKConnectorInterface;
3030
use Drupal\key\KeyRepositoryInterface;
3131

3232
/**

0 commit comments

Comments
 (0)