-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion to create base class for key-value storages 2 #697
base: develop
Are you sure you want to change the base?
Suggestion to create base class for key-value storages 2 #697
Conversation
I like this approach. Could you add some very descriptive doc-blocks in that change pls. 😄 |
This is awesome! a few things
|
Hmm.. I don't see any tabs. |
|
Yes, that is what I had in mind! This is tricky though because this would
|
Yes, I also wanted to mention about this. Traits require PHP >=5.4 |
Oops... travis not working [https://travis-ci.org/bshaffer/oauth2-server-php/jobs/102334251] |
Waiting for PR #701 |
So, with #701, this is passing? |
Rechecked. |
src/OAuth2/Storage/Redis.php
Outdated
), $config); | ||
} | ||
|
||
protected function getValue($key) | ||
protected function _makeKey($table, $key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for underscore before method name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed underscores to conform PSR-2 style
@bluebaroncanada |
@bluebaroncanada @bshaffer |
It is renewed PR #676.
Rewritten storages:
Added storages: