Passed
Push — master ( 43186b...d45fb7 )
by Gabriel
14:32
created

Purchase::getRegistry()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
namespace ByTIC\Payments\Models\Purchases;
4
5
use Nip\Records\Record;
6
use Nip_Registry;
0 ignored issues
show
Bug introduced by
The type Nip_Registry was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
8
/**
9
 * Class Purchase
10
 * @package ByTIC\Payments\Models\Purchases
11
 */
12
class Purchase extends Record
13
{
14
    use PurchaseTrait;
15
16
    public function getPaymentMethod()
17
    {
18
        // TODO: Implement getPaymentMethod() method.
19
    }
20
21
    public function getPurchaseAmount()
22
    {
23
        // TODO: Implement getPurchaseAmount() method.
24
    }
25
26
    public function getName()
27
    {
28
        // TODO: Implement getName() method.
29
    }
30
31
    public function getRegistry()
32
    {
33
        // TODO: Implement getRegistry() method.
34
    }
35
}
36