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