Completed
Pull Request — master (#74)
by
unknown
11:57
created

ProjectStaff::validate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace MarcusJaschen\Collmex\Type;
4
5
class ProjectStaff extends AbstractType implements TypeInterface
6
{
7
    /**
8
     * @var array
9
     */
10
    protected $template = [
11
        'type_identifier' => 'PROJECT_STAFF',
12
        'project_id' => null,
13
        'staff_id' => null,
14
        'staff_company_id' => null,
15
        'name' => null,
16
    ];
17
18
    /**
19
     * Formally validates the type data in $data attribute.
20
     *
21
     * @return bool Validation success
22
     */
23
    public function validate()
24
    {
25
        return true;
26
    }
27
}
28