Skip to content

Conversation

gondo
Copy link

@gondo gondo commented Aug 16, 2014

  • added final return for vote() function
  • moved $user below attribute check. if attribute fails, we don't need user
  • used already declared constants in switch statement, rather than harcoded strings

- added final return for `vote()` function
- moved `$user` below attribute check. if attribute fails, we don't need user
- used already declared constants in switch statement, rather than harcoded strings
@xabbuh
Copy link
Member

xabbuh commented Aug 17, 2014

👍 nice changes @gondo

@weaverryan
Copy link
Member

Love these - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants