Completed
Push — master ( 29841a...1ff6d9 )
by Beñat
02:32
created

ByHashUploadAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A command() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the BenGorFile package.
5
 *
6
 * (c) Beñat Espiña <[email protected]>
7
 * (c) Gorka Laucirica <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace BenGorFile\FileBundle\Controller;
14
15
use BenGorFile\File\Application\Command\Upload\ByHashUploadFileCommand;
16
17
/**
18
 * BenGor file's by hash upload action trait.
19
 *
20
 * @author Beñat Espiña <[email protected]>
21
 */
22
trait ByHashUploadAction
23
{
24
    use UploadAction;
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    private function command()
0 ignored issues
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
30
    {
31
        return ByHashUploadFileCommand::class;
32
    }
33
}
34