QaplaServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace W3design\Qapla;
3
use Illuminate\Support\ServiceProvider;
4
5
class QaplaServiceProvider extends ServiceProvider
6
{
7
	/**
8
	 * Bootstrap the application services.
9
	 */
10
	public function boot()
11
	{
12
		$this->publishes([
13
			__DIR__.'/../config/config.php' => config_path('qapla.php'),
0 ignored issues
show
Bug introduced by
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

13
			__DIR__.'/../config/config.php' => /** @scrutinizer ignore-call */ config_path('qapla.php'),
Loading history...
14
		], 'config');
15
	}
16
	/**
17
	 * Register the application services.
18
	 */
19
	public function register()
20
	{
21
		$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'qapla');
22
	}
23
}