History   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 25
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getHistory() 0 3 1
A getHistoryById() 0 3 1
1
<?php
2
3
namespace Iferas93\HistoriableModel;
4
5
class History
6
{
7
    /**
8
     * History constructor.
9
     */
10
    public function __construct()
11
    {
12
    }
13
14
    /**
15
     * Get History Data With Pagination.
16
     */
17
    public function getHistory()
18
    {
19
    }
20
21
    /**
22
     * Get History By ID.
23
     *
24
     * @param $id
25
     */
26
    public function getHistoryById($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
27
    {
28
    }
29
}
30