Skip to content

Commit 08e5721

Browse files
authored
Merge pull request #160 from highstrike/patch-1
Add location attributes as phpdoc class properties
2 parents 8a9b1b5 + 695e68c commit 08e5721

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/Location.php

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@
66
use Illuminate\Support\Str;
77
use Illuminate\Support\Arr;
88

9+
/**
10+
* Class Location
11+
*
12+
* @property string|null $ip
13+
* @property string|null $iso_code
14+
* @property string|null $country
15+
* @property string|null $city
16+
* @property string|null $state
17+
* @property string|null $state_name
18+
* @property string|null $postal_code
19+
* @property float|null $lat
20+
* @property float|null $lon
21+
* @property string|null $timezone
22+
* @property string|null $continent
23+
* @property string|null $currency
24+
* @property bool $default
25+
* @property bool $cached
26+
*
27+
* @package Torann\GeoIP
28+
*/
929
class Location implements ArrayAccess
1030
{
1131
/**
@@ -199,4 +219,4 @@ public function __unset($key)
199219
{
200220
unset($this->attributes[$key]);
201221
}
202-
}
222+
}

0 commit comments

Comments
 (0)