Remove unused method BlankSource supportsParserType()

Created on 22 April 2024, 11 months ago
Updated 6 May 2024, 10 months ago

Problem/Motivation

BlankSource.php contains a supportsParserType() method:

  /**
   * {@inheritdoc}
   */
  public function supportsParserType($parser_type) {
    // All parsers are supported by this custom source type.
    return TRUE;
  }

However, this is never called anywhere, and it is not part of the extended class CustomSourceBase. I only found it because I was debugging a class that extends it (JsonSource.php).

Therefore, I propose that it be removed.

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇯🇵Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024