Title   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 4
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A get_title() 0 2 2
1
<?php
2
namespace phoponent\app\component\custom\HomeTitle\mvc\model;
3
4
use phoponent\framework\traits\model;
5
6
class Title extends \phoponent\app\component\core\HomeTitle\mvc\model\Title {
7
	use model;
8
    public function get_title($title) {
9
        return is_null($title) ? 'Accueil' : $title;
10
    }
11
}