Closed urbndecay closed 7 years ago
Sure! No objection from me!
This turned out to be extremely impactful & useful. Thanks to this comment and to PHPStan, I discovered that the score update was converting the variable upon binding from an int to a string (!!). This saved a ton of debugging for me! Thank you VERY much for the suggestion - I'll be performing these changes as I go now!!
I am working on the register / login pages and re-writing the code for registration and authentication of players. I checked a few of the updated classes and didn't see PDO constants in use. I have normally used them in the past and wanted to find out if we (I) should or shouldn't use them? If not then no big deal, I just want to keep my code consistent with the code base as it is being updated.
More details
Here is an example
So instead of
it would be