Completed
Push — master ( 159811...38f614 )
by Gregorio
02:45
created

BankAccount   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A parametersValidationRules() 0 7 1
1
<?php
2
3
namespace Gregoriohc\Moneta\Common\Models;
4
5
class BankAccount extends PaymentMethod
6
{
7
    /**
8
     * @return array
9
     */
10 3
    public function parametersValidationRules()
11
    {
12
        return [
13 3
            'full_name' => 'required|string',
14
            'number' => 'required|string',
15
        ];
16
    }
17
}