package and depencies
This commit is contained in:
8
vendor/torann/geoip/composer.json
vendored
8
vendor/torann/geoip/composer.json
vendored
@@ -18,10 +18,10 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.2 || ^8.0",
|
||||
"illuminate/support": "^8.0",
|
||||
"illuminate/console": "^8.0",
|
||||
"illuminate/cache": "^8.0"
|
||||
"php": "^8.0",
|
||||
"illuminate/cache": "^8.0|^9.0",
|
||||
"illuminate/console": "^8.0|^9.0",
|
||||
"illuminate/support": "^8.0|^9.0"
|
||||
},
|
||||
"suggest": {
|
||||
"geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",
|
||||
|
8
vendor/torann/geoip/src/Location.php
vendored
8
vendor/torann/geoip/src/Location.php
vendored
@@ -154,7 +154,7 @@ class Location implements ArrayAccess
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function offsetExists($offset)
|
||||
public function offsetExists(mixed $offset): bool
|
||||
{
|
||||
return isset($this->$offset);
|
||||
}
|
||||
@@ -166,7 +166,7 @@ class Location implements ArrayAccess
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function offsetGet($offset)
|
||||
public function offsetGet(mixed $offset): mixed
|
||||
{
|
||||
return $this->$offset;
|
||||
}
|
||||
@@ -179,7 +179,7 @@ class Location implements ArrayAccess
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function offsetSet($offset, $value)
|
||||
public function offsetSet(mixed $offset, mixed $value): void
|
||||
{
|
||||
$this->$offset = $value;
|
||||
}
|
||||
@@ -191,7 +191,7 @@ class Location implements ArrayAccess
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function offsetUnset($offset)
|
||||
public function offsetUnset(mixed $offset): void
|
||||
{
|
||||
unset($this->$offset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user