Skip to content

Conversation

@localheinz
Copy link
Contributor

This PR

  • assumes that Redis::exists() returns 0 if the cache doesn't contain data for an $id

💁 For reference, see http://redis.io/commands/EXISTS#return-value.

@Ocramius Ocramius self-assigned this Jul 15, 2016
@Ocramius Ocramius added the Bug label Jul 15, 2016
@Ocramius Ocramius added this to the 1.7.0 milestone Jul 15, 2016
@Ocramius Ocramius merged commit 39129b3 into doctrine:master Jul 15, 2016
@Ocramius
Copy link
Member

@localheinz thanks!

@localheinz localheinz deleted the fix/build branch July 15, 2016 15:00
@Ocramius Ocramius changed the title Fix: exists() returns an integer Corrected return type of PredisCache#doContains(), which should be bool (was int) Jul 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants