travello-gmbh / amazon-alexa-skill-library

DEPRECATED PHP Library for Amazon Alexa Skills
12 stars 1 forks source link

Bug with context object without AudioPlayer object #25

Closed RalfEggert closed 6 years ago

RalfEggert commented 6 years ago

When the context object is sent within an Alexa request and no AudioPlayer object is sent, the request handling fails. The TravelloAlexaLibrary\Request\Context\Context expects an AudioPlayerInterface instance as a parameter for its constructor. This should be changed. Otherwise the handling in the TravelloAlexaLibrary\Request\RequestType\RequestTypeFactory fails.

RalfEggert commented 6 years ago

Closed by PR #28