amplitude / experiment-php-server

Amplitude Experiment PHP Server SDK
MIT License
2 stars 4 forks source link

docs: Fix remote evaluation example in README file #11

Closed thetechdabbler closed 9 months ago

thetechdabbler commented 9 months ago

Fixed the example provided in README file, which was not working

tyiuhc commented 9 months ago

@thetechdabbler Many thanks for raising this! For future reference, we recommend that our dev docs be used as the most up-to-date reference for the SDK

thetechdabbler commented 9 months ago

@tyiuhc, the similar typo is present in dev docs as well. The example provided is not working. The line $variants = $client->fetch($user)>wait(); should be replaced with $variants = $client->fetch($user)->wait();

tyiuhc commented 9 months ago

@thetechdabbler Dev docs now have been updated to address this. Thanks again for your contribution!

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 0.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: