Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Pull Request — master (#801)
by Timur
20:26
created

TypeGuesser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 14
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Config\Parser\MetadataParser\TypeGuesser;
6
7
use Overblog\GraphQLBundle\Config\Parser\MetadataParser\ClassesTypesMap;
8
use ReflectionClass;
9
use Reflector;
10
11
abstract class TypeGuesser implements TypeGuesserInterface
12
{
13
    protected ClassesTypesMap $map;
14
15
    public function __construct(ClassesTypesMap $map)
16
    {
17
        $this->map = $map;
18
    }
19
20
    abstract public function supports(Reflector $reflector): bool;
21
22
    abstract public function getName(): string;
23
24
    abstract public function guessType(ReflectionClass $reflectionClass, Reflector $reflector, array $filterGraphQLTypes = []): ?string;
25
}
26