Passed
Push — master ( a9840c...5ab0c2 )
by Todd
03:34
created

ValidResult::getMessages()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 2
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Logikos\Util\Config\Field\Validation;
4
5
6
class ValidResult implements Result {
7
8 14
  public function isValid(): bool {
9 14
    return self::VALID;
10
  }
11
12 1
  public function getMessages() {
13 1
    return [];
14
  }
15
}