Completed
Branch develop (f935f6)
by Romain
01:43
created

InvalidOptionsException::invalidTTL()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace ker0x\Push\Adapter\Fcm\Message\Exception;
3
4
class InvalidOptionsException extends AbstractException
5
{
6
    public static function invalidTTL($value)
7
    {
8
        return new static("time_to_live must be a integer between 0 and 2419200. Current value is: {$value}");
9
    }
10
}
11