Skip to content

Commit

Permalink
Fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
artemvd authored Apr 9, 2024
1 parent b79bcfe commit ed6c8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin/GraphQL/DataProducer/Routing/RouteEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function __construct(
public function resolve($url, ?string $language, FieldContext $context): ?Deferred {
if ($url instanceof Url && $url->isRouted()) {
[$route_type, $type] = explode('.', $url->getRouteName());
// Check that this route is actually an entity route and make sure that
// Check that this route is actually an entity route and make sure that
// entity type is not empty.
if ($route_type !== 'entity' || empty($type)) {
return NULL;
Expand Down

0 comments on commit ed6c8e6

Please sign in to comment.