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

Purchase   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getRegistry() 0 2 1
A getPaymentMethod() 0 2 1
A getName() 0 2 1
A getPurchaseAmount() 0 2 1
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