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

QueueTracks::pushToTracks()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 2
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