Skip to content

Adding keywords to Metadata requires countable object/array #28

@tsmgeek

Description

@tsmgeek

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

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