Package-update-patch
Update Torann/GeoIP package from 0.2 to 1.0.0 which is being used to show country code in phone nuber in various forms.
This commit is contained in:
22
vendor/torann/geoip/tests/TestFunctions.php
vendored
Normal file
22
vendor/torann/geoip/tests/TestFunctions.php
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
if (!function_exists('storage_path')) {
|
||||
function storage_path($path = '')
|
||||
{
|
||||
return __DIR__ . DIRECTORY_SEPARATOR . 'tmp' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('env')) {
|
||||
function env($key, $default = null)
|
||||
{
|
||||
return $key;
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('app')) {
|
||||
function app($key = null, $default = null)
|
||||
{
|
||||
return \Torann\GeoIP\Tests\TestCase::$functions->app($key, $default);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user