Completed
Push — master ( 09494e...ad2be9 )
by Woody
17:38
created

DiffableTrait::diff()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace Equip\Data\Traits;
4
5
use Equip\Data\DiffableInterface;
6
7
trait DiffableTrait
8
{
9
    /**
10
     * Get the difference between an object and some values
11
     *
12
     * @param DiffableInterface $object
13
     * @param array $values
14
     *
15
     * @return array
16
     */
17
    private function diff(DiffableInterface $object, array $values)
0 ignored issues
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
18
    {
19
        return $object->diff($values);
20
    }
21
}
22