Completed
Push — master ( d388c3...ceb9a8 )
by ARCANEDEV
05:06
created

Longitude::getMin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php namespace Arcanedev\GeoLocation\Entities\Coordinates;
2
3
/**
4
 * Class     Longitude
5
 *
6
 * @package  Arcanedev\GeoLocation\Entities\Coordinates
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class Longitude extends AbstractCoordinate
10
{
11
    /* -----------------------------------------------------------------
12
     |  Constants
13
     | -----------------------------------------------------------------
14
     */
15
16
    /**
17
     * Get minimum value.
18
     *
19
     * @return float
20
     */
21 99
    public static function getMin()
22
    {
23 99
        return -180.0;
24
    }
25
26
    /**
27
     * Get maximum value.
28
     *
29
     * @return float
30
     */
31 99
    public static function getMax()
32
    {
33 99
        return 180.0;
34
    }
35
}
36