Passport::issue_date()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace OceanApplications\Postmen\Models;
4
5
class Passport extends Model
6
{
7
    public $number;
8
    public $issue_date;
9
10
    /**
11
     * @param string $value
12
     *
13
     * @return $this
14
     */
15
    public function number($value)
16
    {
17
        $this->number = strval($value);
18
19
        return $this;
20
    }
21
22
    /**
23
     * @param string $value
24
     *
25
     * @return $this
26
     */
27
    public function issue_date($value)
28
    {
29
        $this->issue_date = strval($value);
30
31
        return $this;
32
    }
33
}
34