Passed
Push — master ( 1c0e23...afe80e )
by Andrey
10:06
created

DocumentList::showFullList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
namespace Daaner\NovaPoshta\Traits;
4
5
trait DocumentList
6
{
7
8
    /**
9
     * @return this
10
     */
11
    public function showFullList()
12
    {
13
        $this->methodProperties['GetFullList'] = 1;
1 ignored issue
show
Bug Best Practice introduced by
The property methodProperties does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
14
15
        return $this;
16
    }
17
18
    /**
19
     * @return this
20
     */
21
    public function showRedeliveryMoney()
22
    {
23
        $this->methodProperties['RedeliveryMoney'] = 1;
1 ignored issue
show
Bug Best Practice introduced by
The property methodProperties does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
24
25
        return $this;
26
    }
27
28
    /**
29
     * @return this
30
     */
31
    public function showUnassembledCargo()
32
    {
33
        $this->methodProperties['UnassembledCargo'] = 1;
1 ignored issue
show
Bug Best Practice introduced by
The property methodProperties does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
34
35
        return $this;
36
    }
37
38
}
39