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

ProjectStaffGet   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 20
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A validate() 0 4 1
1
<?php
2
3
namespace MarcusJaschen\Collmex\Type;
4
5
class ProjectStaffGet extends AbstractType implements TypeInterface
6
{
7
    /**
8
     * @var array
9
     */
10
    protected $template = [
11
        'type_identifier' => 'PROJECT_STAFF_GET',
12
        'project_id' => null,
13
    ];
14
15
    /**
16
     * Formally validates the type data in $data attribute.
17
     *
18
     * @return bool Validation success
19
     */
20
    public function validate()
21
    {
22
        return true;
23
    }
24
}
25