Completed
Push — master ( 2ef464...a5d107 )
by Daniel
18s queued 11s
created

DestinationFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 3 1
1
<?php
2
3
namespace Jellyfish\Queue;
4
5
class DestinationFactory implements DestinationFactoryInterface
6
{
7
    /**
8
     * @return \Jellyfish\Queue\DestinationInterface
9
     */
10
    public function create(): DestinationInterface
11
    {
12
        return new Destination();
13
    }
14
}
15