1 | <?php namespace Arcanesoft\Auth\Http\Controllers\Admin; |
||
12 | class PasswordResetsController extends Controller |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Properties |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** @var int */ |
||
19 | protected $perPage = 30; |
||
20 | |||
21 | /* ------------------------------------------------------------------------------------------------ |
||
22 | | Constructor |
||
23 | | ------------------------------------------------------------------------------------------------ |
||
24 | */ |
||
25 | /** |
||
26 | * PasswordResetsController constructor. |
||
27 | */ |
||
28 | public function __construct() |
||
35 | |||
36 | /* ------------------------------------------------------------------------------------------------ |
||
37 | | Main Functions |
||
38 | | ------------------------------------------------------------------------------------------------ |
||
39 | */ |
||
40 | public function index() |
||
53 | |||
54 | public function delete() |
||
62 | |||
63 | public function clear() |
||
73 | } |
||
74 |
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.