CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 7
https://pro.codely.tv/library/ddd-en-php
2.96k stars 1.08k forks source link

Required parameter $trustedHeaderSet missing #57

Closed sdecandelario closed 5 years ago

sdecandelario commented 5 years ago

In the file applications/api/web/api.php in Request::setTrustedProxies is needed a second parameter called $trustedHeaderSet of type Request::HEADER_*

https://github.com/CodelyTV/cqrs-ddd-php-example/blob/0e90bdd5f7f046f7c4d81c9ca92bd2868bacd5c1/applications/api/web/api.php#L14

JavierCane commented 5 years ago

Fixed: https://github.com/CodelyTV/cqrs-ddd-php-example/commit/6858b5725e583936513901c01f088573d827c3b6

Thanks for reporting it!