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 (#593)
by
unknown
21:25
created

ResolveErrors::setValidationErrors()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Error;
6
7
use Symfony\Component\Validator\ConstraintViolationListInterface;
8
9
class ResolveErrors
10
{
11
    private $validationErrors;
12
13
    /**
14
     * @internal
15
     */
16 2
    public function setValidationErrors(ConstraintViolationListInterface $errors): void
17
    {
18 2
        $this->validationErrors = $errors;
19 2
    }
20
21
    /**
22
     * Returns a collection of validation violations or null.
23
     *
24
     * @return ConstraintViolationListInterface|null
25
     */
26 2
    public function getValidationErrors(): ?ConstraintViolationListInterface
27
    {
28 2
        return $this->validationErrors;
29
    }
30
}
31