Skip to content

Project not working #12

@TheEzraMiller

Description

@TheEzraMiller

Trying to run the given example in Readme:

species('bulbasaur'); // or $client->species(1); Gets errors including a parsing error: Deprecated: Return type of PhpCollection\AbstractMap::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in pokemon/vendor/phpcollection/phpcollection/src/PhpCollection/AbstractMap.php on line 295 Deprecated: Return type of PhpCollection\AbstractMap::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in pokemon/vendor/phpcollection/phpcollection/src/PhpCollection/AbstractMap.php on line 290 Parse error: syntax error, unexpected token "readonly" in pokemon/vendor/jms/serializer/src/JMS/Serializer/Metadata/Driver/AnnotationDriver.php on line 80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions