Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
PHP/OAuth 2.0 Discord Login Script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kailani" data-source="post: 464302" data-attributes="member: 96235"><p>It looks pretty good! I don't understand the abstraction with your helper methods though, or your inconsistency with constants. I would also look towards making this compliant with PSR, and implement a bit more type safety if you did want to improve it even more. Also if you are validating exact value+type, you should use the triple operator.</p></blockquote><p></p>
[QUOTE="kailani, post: 464302, member: 96235"] It looks pretty good! I don't understand the abstraction with your helper methods though, or your inconsistency with constants. I would also look towards making this compliant with PSR, and implement a bit more type safety if you did want to improve it even more. Also if you are validating exact value+type, you should use the triple operator. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
PHP/OAuth 2.0 Discord Login Script
Top