Signature::gen()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Program signature
4
 * User: moyo
5
 * Date: 22/11/2017
6
 * Time: 4:45 PM
7
 */
8
9
namespace Carno\Consul\Features;
10
11
class Signature
12
{
13
    /**
14
     * @return string
15
     */
16
    public static function gen() : string
17
    {
18
        return sprintf('%s@%s', 'php', gethostname());
19
    }
20
}
21