TwitterPlace::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
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 Twitter\Object;
4
5
use Twitter\TwitterSerializable;
6
7
class TwitterPlace implements TwitterSerializable
8
{
9
    /**
10
     * Constructor.
11
     */
12 3
    public function __construct()
13
    {
14 3
    }
15
16
    /**
17
     * Static constructor.
18
     *
19
     * @return TwitterPlace
20
     */
21 3
    public static function create()
22
    {
23 3
        return new self();
24
    }
25
}
26