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

Completed
Pull Request — master (#750)
by Timur
22:37
created

Entity::getConverterClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Hydrator\Converters;
6
7
/**
8
 * Converts scalar value into Doctrine entity.
9
 *
10
 * @Annotation
11
 */
12
class Entity implements ConverterAnnotationInterface
13
{
14
    /**
15
     * FQCN of the target entity
16
     */
17
    public string $value;
18
19
    public bool $isCollection;
20
21
    public static function getConverterClass(): string
22
    {
23
        return static::class.'Converter';
24
    }
25
26
    public function isCollection(): bool
27
    {
28
        return $this->isCollection ?? false;
29
    }
30
}
31