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

TTLProviderTrait::invalidTTLs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 9
nc 1
nop 0
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