GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( a22100...0c1d55 )
by joseph
20s queued 15s
created

IntegerWithinRangeFakerData   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 80%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 7
ccs 4
cts 5
cp 0.8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 5 1
1
<?php declare(strict_types=1);
2
3
namespace EdmondsCommerce\DoctrineStaticMeta\Entity\Fields\FakerData\Numeric;
4
5
use EdmondsCommerce\DoctrineStaticMeta\Entity\Fields\FakerData\AbstractFakerDataProvider;
6
use EdmondsCommerce\DoctrineStaticMeta\Entity\Fields\Interfaces\Numeric\IntegerWithinRangeFieldInterface;
7
8
class IntegerWithinRangeFakerData extends AbstractFakerDataProvider
9
{
10 2
    public function __invoke()
11
    {
12 2
        return $this->generator->numberBetween(
13 2
            IntegerWithinRangeFieldInterface::MIN_INTEGER_WITHIN_RANGE,
14 2
            IntegerWithinRangeFieldInterface::MAX_INTEGER_WITHIN_RANGE
15
        );
16
    }
17
}
18