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

ByLocaleId::resolve()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.9666
c 0
b 0
f 0
cc 1
nc 1
nop 4
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 ByLocaleId
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