Skip to content

Commit

Permalink
OXDEV-7659 Cleanup not used parts
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <anton@fedurtsya.com>
  • Loading branch information
Sieg committed Dec 6, 2023
1 parent be63f37 commit 6a8fd41
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 69 deletions.
4 changes: 2 additions & 2 deletions services.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
imports:
- { resource: src/Setting/services.yaml }
- { resource: src/Shared/services.yaml }

parameters:
oxidesales.graphqlconfigurationaccess.depends_on_modules: [ 'oe_graphql_base' ]
Expand All @@ -25,6 +24,7 @@ services:

OxidEsales\GraphQL\ConfigurationAccess\Shared\Subscriber\BeforeModuleDeactivation:
class: OxidEsales\GraphQL\ConfigurationAccess\Shared\Subscriber\BeforeModuleDeactivation
arguments: [ '%oxidesales.graphqlconfigurationaccess.depends_on_modules%' ]
arguments:
$dependencies: '%oxidesales.graphqlconfigurationaccess.depends_on_modules%'
tags: [ 'kernel.event_subscriber' ]
public: true
20 changes: 0 additions & 20 deletions src/Shared/Exception/GraphQLServiceNotFound.php

This file was deleted.

34 changes: 0 additions & 34 deletions src/Shared/Service/Authorization.php

This file was deleted.

8 changes: 3 additions & 5 deletions src/Shared/Subscriber/BeforeModuleDeactivation.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@

final class BeforeModuleDeactivation implements EventSubscriberInterface
{
private array $dependencies;

public function __construct(array $dependencies)
{
$this->dependencies = $dependencies;
public function __construct(
private array $dependencies
) {
}

public function handle(OriginalEvent $event): OriginalEvent
Expand Down
8 changes: 0 additions & 8 deletions src/Shared/services.yaml

This file was deleted.

0 comments on commit 6a8fd41

Please sign in to comment.