amphp / mysql

An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications.
Other
359 stars 63 forks source link

Updated samples to return only Promises #14

Closed sagara- closed 9 years ago

sagara- commented 9 years ago

Just minor fixes to the examples so they work with the latest version of amp. The examples were returning non-Promise values in certain spots, which is no longer allowed.

bwoebi commented 9 years ago

Thanks :-) (Please do not mess up indents when you create pull requests in future; fixed it this time for you.)

sagara- commented 9 years ago

Thanks a lot. Sorry about that, I hadn't even noticed the project was using tabs for indent; I went ahead and updated my remaining pull request to use tabs. Spaces tend to be more common so I forgot to check when I started working on the codebase.

kelunik commented 9 years ago

This is actually the only amphp repository that still uses tabs...