Trackable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTrackingUpdates() 0 3 1
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