Passed
Branch master (73f5a3)
by Toni
02:45
created

AlwaysOccurringTemporalExpression   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A includes() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Adlogix\EventSchedulerTest\Fixtures\TemporalExpression;
6
7
use DateTimeInterface;
8
use Adlogix\EventScheduler\TemporalExpression\TemporalExpressionInterface;
9
10
/**
11
 * @author Toni Van de Voorde <[email protected]>
12
 */
13
final class AlwaysOccurringTemporalExpression implements TemporalExpressionInterface
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function includes(DateTimeInterface $date) : bool
19
    {
20
        return true;
21
    }
22
}
23