Passed
Push — develop ( dce829...c223e6 )
by ReliQ
03:41
created

Trackable::getTrackingUpdates()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ReliqArts\Logistiq\Tracking\Models;
6
7
use Illuminate\Support\Collection;
8
use ReliqArts\Logistiq\Tracking\Contracts\Trackable as TrackableContract;
9
use ReliqArts\Logistiq\Utility\Eloquent\Trackable as EloquentTrackable;
10
11
abstract class Trackable extends EloquentTrackable implements TrackableContract
12
{
13
    /**
14
     * @return Collection
15
     */
16
    public function getTrackingUpdates(): Collection
17
    {
18
        return $this->trackingUpdates;
19
    }
20
}
21