Passed
Push — master ( 1a00b5...984447 )
by y
03:02
created

Membership::_getMap()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 4
rs 10
c 2
b 0
f 0
1
<?php
2
3
namespace Helix\Asana\Task;
4
5
use Helix\Asana\Base\Data;
6
use Helix\Asana\Project;
7
use Helix\Asana\Project\Section;
8
9
/**
10
 * A task's membership.
11
 *
12
 * @see https://developers.asana.com/docs/task
13
 *
14
 * @method Project getProject()
15
 * @method Section getSection()
16
 */
17
class Membership extends Data {
18
19
    protected static $map = [
20
        'project' => Project::class,
21
        'section' => Section::class
22
    ];
23
24
}