EntityUpdate   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 7
rs 10
c 1
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A update() 0 4 1
1
<?php
2
3
namespace Core\Utils\EntityUtils;
4
5
use Core\DatabaseManager;
6
7
class EntityUpdate
8
{
9
    public static function update($entity)
0 ignored issues
show
Unused Code introduced by
The parameter $entity 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...
10
    {
11
        DatabaseManager::getEntityManager()->flush();
12
    }
13
}