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

NewUser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getList() 0 4 1
1
<?php
2
3
namespace SET\Handlers\Calendar;
4
5
use Illuminate\Database\Eloquent\Collection;
6
use SET\User;
7
8
class NewUser extends CollectionList
9
{
10
11
    public function getList() : Collection
12
    {
13
        return User::whereBetween('created_at', [$this->start, $this->end])->get();
14
    }
15
}