| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function render() |
||
| 28 | { |
||
| 29 | $date = $this->arguments['date']; |
||
| 30 | $additionalParams = [ |
||
| 31 | 'tx_calendarize_calendar' => [ |
||
| 32 | 'year' => $date->format('Y'), |
||
| 33 | 'week' => $date->format('W'), |
||
| 34 | ], |
||
| 35 | ]; |
||
| 36 | |||
| 37 | return parent::renderLink($this->getPageUid($this->arguments['pageUid']), $additionalParams); |
||
|
|
|||
| 38 | } |
||
| 39 | } |
||
| 40 |
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 theSoncalls the wrong method in the parent class.