Passed
Push — master ( 0756fe...706dc7 )
by Arthur
14:47
created

PropertyRequiredViolation::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 9
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
4
namespace Larapie\DataTransferObject\Violations;
5
6
use Symfony\Component\Validator\ConstraintViolation;
7
8
class PropertyRequiredViolation extends ConstraintViolation
9
{
10
11
    /**
12
     * RequiredPropertyViolation constructor.
13
     */
14
    public function __construct()
15
    {
16
        parent::__construct(
17
            "is required",
18
            "is required",
19
            [],
20
            null,
21
            "",
22
            null
23
        );
24
    }
25
}