Project

General

Profile

Actions

Bug #29137

closed

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

Added by Philipp Gampe about 13 years ago. Updated almost 11 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 #1

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change I59e1e62181de274c808f5e27992c076b6cf335f6 has been pushed to the review server.
It is available at http://review.typo3.org/4451

Actions #2

Updated by Philipp Gampe about 13 years ago

  • Status changed from Accepted to Under Review
Actions #3

Updated by Mr. Hudson about 13 years ago

Patch set 2 of change I59e1e62181de274c808f5e27992c076b6cf335f6 has been pushed to the review server.
It is available at http://review.typo3.org/4451

Actions #4

Updated by Philipp Gampe about 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 80 to 100
Actions #5

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Michael Stucki almost 11 years ago

  • Category set to Linkvalidator
Actions #7

Updated by Michael Stucki almost 11 years ago

  • Project changed from 1510 to TYPO3 Core
  • Category changed from Linkvalidator to Linkvalidator
Actions

Also available in: Atom PDF