Signature   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A gen() 0 3 1
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