Skip to content
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

SplitToken: Move to private constructor model #94

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Conversation

Menelion
Copy link
Contributor

  • Go for private constructor with create() and fromString() static methods
  • Make all the fields nullable, except for database connection
  • Remove PHP CodeSniffer for the time being
  • Eternal tokens have expiration time set to null
  • The value 0 of the expiration time field means default expiration time, i.e., plus one hour
  • Remove setters as they are not needed anymore

@Menelion Menelion merged commit c110877 into master Apr 19, 2024
26 checks passed
@Menelion Menelion deleted the private-ctor branch April 19, 2024 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant