AppleNewsAPI
AppleNewsAPI copied to clipboard
Adding keywords to Metadata requires countable object/array
In recent PHP versions it is required that an object is an array/countable before you do a count on it.
https://github.com/chapter-three/AppleNewsAPI/blob/master/src/Document/Metadata.php#L338
PHP Warning: count(): Parameter must be an array or an object that implements Countable in D:\CodeRepo\apple-news-compile-test\vendor\chapter-three\apple-news-api\src\Document\Metadata.php on line 338