Completed
Pull Request — master (#13)
by Hyunwoo
02:44
created

TTLProviderTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A invalidTTLs() 0 12 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace RoaveTest\DoctrineSimpleCache;
5
6
trait TTLProviderTrait
7
{
8
    public function invalidTTLs() : array
9
    {
10
        return [
11
            [''],
12
            [true],
13
            [false],
14
            [2.5],
15
            ['rand:str'],
16
            [new \stdClass()],
17
            [['array']],
18
        ];
19
    }
20
}
21