1 | <?php |
||
11 | class DutyHelper |
||
12 | { |
||
13 | public $list; |
||
14 | public $lastWorkedUser = null; |
||
15 | public $duty; |
||
16 | |||
17 | public function __construct(Duty $duty) |
||
22 | |||
23 | public function generateList() |
||
31 | |||
32 | public function getList() |
||
36 | |||
37 | public function iterateList() |
||
47 | |||
48 | public function sortList() |
||
58 | |||
59 | /** |
||
60 | * Check duty cycle. Then determine if time to record next entry. |
||
61 | * |
||
62 | * @param $today |
||
63 | */ |
||
64 | private function readyToRecordNextEntry($today) |
||
81 | } |
||
82 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.