| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function render() |
||
| 31 | { |
||
| 32 | $additionalParams = [ |
||
| 33 | 'tx_calendarize_calendar' => [ |
||
| 34 | 'index' => $this->arguments['index']->getUid(), |
||
| 35 | ], |
||
| 36 | ]; |
||
| 37 | |||
| 38 | return parent::renderLink($this->getPageUid($this->arguments['pageUid'], 'detailPid'), $additionalParams, (bool) $this->arguments['absolute']); |
||
|
|
|||
| 39 | } |
||
| 40 | } |
||
| 41 |
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.