Completed
Push — master ( ea2637...283304 )
by
unknown
09:39
created

ByLocaleIso   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 21
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A resolve() 0 9 1
1
<?php
2
3
namespace BBS\Nova\Translation\GraphQL\Queries\Translation;
4
5
use GraphQL\Type\Definition\ResolveInfo;
6
use Nuwave\Lighthouse\Support\Contracts\GraphQLContext;
7
8
class ByLocaleIso
9
{
10
    /**
11
     * Return a value for the field.
12
     *
13
     * @param  mixed  $rootValue
14
     * @param  array  $args
15
     * @param  \Nuwave\Lighthouse\Support\Contracts\GraphQLContext  $context
16
     * @param  \GraphQL\Type\Definition\ResolveInfo  $resolveInfo
17
     * @return array
18
     */
19
    public function resolve($rootValue, array $args, GraphQLContext $context, ResolveInfo $resolveInfo)
0 ignored issues
show
Unused Code introduced by
The parameter $rootValue is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $context is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $resolveInfo is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
20
    {
21
        // @TODO...
22
        dump($args);
23
24
        return [
25
            'json' => [],
26
        ];
27
    }
28
}
29