Passed
Pull Request — master (#112)
by Mathieu
01:43
created

EventsGenerator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 4
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A generate 0 2 1
1
import {EventType} from './Event.entity';
2
import {User} from '../HumanResource/User/User.entity';
3
4
export class EventsGenerator {
5
  public async generate(user: User, from: Date, to: Date, type: EventType) {
6
    return '';
7
  }
8
}
9