The Facebook Instant Articles SDK for PHP provides a native interface for creating and publishing Instant Articles.
232
stars
148
forks
source link
Use InstantArticleInterface instead of InstantArticle as parameter type for Transformer methods #367
Open
radamou opened 3 years ago
Steps required to reproduce the problem
for public function transformString($context, $content, $encoding = "utf-8"), replace $context Type (from InstantArticle to InstantArticle Interface)
public function transformString(InstantArticleInterface $context, string $content, string $encoding = "utf-8")
Expected Result
Actual Result