Passed
Push — dev-master ( 6bccf2...881343 )
by Petr
02:20
created

YourMembershipServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace P2A\YourMembership;
3
4
use Illuminate\Support\ServiceProvider;
5
6
class YourMembershipServiceProvider extends ServiceProvider {
7
8
	/**
9
	 * Indicates if loading of the provider is deferred.
10
	 *
11
	 * @var bool
12
	 */
13
	protected $defer = false;
14
15
	/**
16
	 * Register the service provider.
17
	 *
18
	 * @return void
19
	 */
20
	public function register()
21
	{
22
		//
23
	}
24
25
    public function boot()
26
    {
27
        $this->package('phone2action/ym-api');
0 ignored issues
show
Bug introduced by
The method package() does not seem to exist on object<P2A\YourMembershi...bershipServiceProvider>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
28
    }
29
30
	/**
31
	 * Get the services provided by the provider.
32
	 *
33
	 * @return array
34
	 */
35
	public function provides()
36
	{
37
		return array();
38
	}
39
40
}
41