Skip to content
This repository has been 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
radamou opened this issue Mar 4, 2021 · 0 comments

Comments

@radamou
Copy link

radamou commented Mar 4, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant