Completed
Push — Codacy-Fixes ( c36731...91d4f5 )
by Shawn
02:21
created

CollectionList   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
getList() 0 1 ?
1
<?php
2
3
namespace SET\Handlers\Calendar;
4
5
use Illuminate\Database\Eloquent\Collection;
6
7
abstract class CollectionList
8
{
9
    protected $start;
10
    protected $end;
11
12
    public function __construct($start, $end)
13
    {
14
        $this->start = $start;
15
        $this->end   = $end;
16
    }
17
18
    public abstract function getList() : Collection;
0 ignored issues
show
Coding Style introduced by
The abstract declaration must precede the visibility declaration
Loading history...
19
}