Issues (18)

src/ServiceProvider.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace CodeblogPro\GeoLocation;
4
5
class ServiceProvider extends \Illuminate\Support\ServiceProvider
6
{
7
    public function register()
8
    {
9
        parent::register();
10
    }
11
12
    public function boot()
13
    {
14
        $this->loadRoutesFrom(__DIR__ . '/routes/geo-location.php');
15
16
        $this->publishes([
17
            __DIR__ . '/config/geolocation.php' => config_path('geolocation.php'),
0 ignored issues
show
The function config_path was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

17
            __DIR__ . '/config/geolocation.php' => /** @scrutinizer ignore-call */ config_path('geolocation.php'),
Loading history...
18
            'geolocation-config'
19
        ]);
20
        $this->mergeConfigFrom(__DIR__ . '/config/geolocation.php', 'geolocation');
21
    }
22
}
23