Project

General

Profile

Actions

Bug #29137

closed

Fatal error with E_STRICT: Declaration of fetchType must be compatible with interface

Added by Philipp Gampe over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Linkvalidator
Target version:
Start date:
2011-08-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Fatal error: Declaration of tx_linkvalidator_linktype_External::fetchType() must be compatible 
with that of tx_linkvalidator_linktype_Interface::fetchType() in 
/home/phil/t3-playground/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php 
on line 192

The same happens for checkLink().

Solution, change the interface to include type hints too. Therefore, change all places, where the methods are overridden.

Actions

Also available in: Atom PDF