Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Use InstantArticleInterface instead of InstantArticle as parameter type for Transformer methods #367

Open

Description

@radamou

Steps required to reproduce the problem

  1. for public function transformString($context, $content, $encoding = "utf-8"), replace $context Type (from InstantArticle to InstantArticle Interface)

  2. public function transformString(InstantArticleInterface $context, string $content, string $encoding = "utf-8")

Expected Result

  • public function transformString(InstantArticleInterface $context, string $content, string $encoding = "utf-8")

Actual Result

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions