dddshelf / last-wishes

Last Wishes is a PHP application written following Domain-Driven Design approach. It's one of the sample applications where you can check the concepts explained in the "Domain-Driven Design in PHP" book.
https://leanpub.com/ddd-in-php
660 stars 120 forks source link

Fixes the following AMQP connection error: #13

Open daniel18387 opened 8 years ago

daniel18387 commented 8 years ago

PHP Catchable fatal error: Argument 1 passed to Ddd\Infrastructure\Application\Notification\RabbitMqMessaging::__construct() must be an instance of PhpAmqpLib\Connection\AMQPConnection, instance of PhpAmqpLib\Connection\AMQPStreamConnection given, called in /var/www/last-wishes/src/Lw/Infrastructure/Ui/Web/Silex/Application.php on line 76 and defined in /var/www/last-wishes/vendor/carlosbuenosvinos/ddd/src/Infrastructure/Application/Notification/RabbitMqMessaging.php on line 12