1 | <?php namespace Arcanedev\LaravelImpersonator\Providers; |
||
12 | class AuthorizationServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /* ----------------------------------------------------------------- |
||
15 | | Main Methods |
||
16 | | ----------------------------------------------------------------- |
||
17 | */ |
||
18 | |||
19 | /** |
||
20 | * Register any application authentication / authorization services. |
||
21 | */ |
||
22 | 72 | public function boot() |
|
28 | } |
||
29 |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()
method in theSon
calls the wrong method in the parent class.