Person   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFIO() 0 3 1
1
<?php
2
3
namespace nikserg\CRMCertificateAPI\models\response\Esia;
4
5
/**
6
 * Должностное лицо
7
 *
8
 * @package nikserg\CRMCertificateAPI\models\response\Esia
9
 */
10
class Person
11
{
12
    public $firstName;
13
    public $lastName;
14
    public $middleName;
15
    public $jobName;
16
17
    /**
18
     * @return string
19
     */
20
    public function getFIO()
21
    {
22
        return implode(' ', [$this->lastName, $this->firstName, $this->middleName]);
23
    }
24
}