1 | <?php namespace Arcanesoft\Blog\Providers; |
||
15 | class AuthorizationServiceProvider extends ServiceProvider |
||
16 | { |
||
17 | /* ----------------------------------------------------------------- |
||
18 | | Main Methods |
||
19 | | ----------------------------------------------------------------- |
||
20 | */ |
||
21 | |||
22 | /** |
||
23 | * Register any application authentication / authorization services. |
||
24 | */ |
||
25 | 102 | public function boot() |
|
34 | } |
||
35 |
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.