Completed
Push — master ( 3cc9b0...d35865 )
by Timur
02:56
created

GetConfigFileCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A requestMethod() 0 4 1
1
<?php
2
3
namespace Laravel\Forge\Configs\Commands;
4
5
use Laravel\Forge\Commands\RawBodyResponseTrait;
6
use Laravel\Forge\Commands\NotSupportingResourceClassTrait;
7
8
class GetConfigFileCommand extends ConfigFileCommand
9
{
10
    use NotSupportingResourceClassTrait, RawBodyResponseTrait;
11
12
    /**
13
     * HTTP request method.
14
     *
15
     * @return string
16
     */
17
    public function requestMethod()
18
    {
19
        return 'GET';
20
    }
21
}
22