Completed
Push — master ( c2add9...d388c3 )
by ARCANEDEV
14s
created

Longitude   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 27
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getMin() 0 4 1
A getMax() 0 4 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