Completed
Pull Request — master (#21)
by
unknown
04:20
created

QueueTracks   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 1
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A pushToTracks() 0 4 1
1
<?php namespace Maqe\Qwatcher\Tracks;
2
3
class QueueTracks extends TracksAbstract
4
{
5
    public function __construct($id, $job = null)
6
    {
7
        return $this->pushToTracks($id, $job);
0 ignored issues
show
Bug introduced by
Constructors do not have meaningful return values, anything that is returned from here is discarded. Are you sure this is correct?
Loading history...
8
    }
9
10
    public function pushToTracks($id, $job = null)
11
    {
12
        return $this->create($id, $job);
13
    }
14
}
15