UUIDSequenceGenerator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A generate() 0 3 1
1
<?php
2
3
namespace BWC\Share\Data\Sequence;
4
5
use BWC\Share\Object\UUID;
6
7
class UUIDSequenceGenerator implements SequenceGeneratorInterface
8
{
9
    /**
10
     * @return string
11
     */
12
    function generate() {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
13
        return UUID::generate();
14
    }
15
16
}