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

v5 #29

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

v5 #29

wants to merge 2 commits into from

Conversation

Skullbock
Copy link
Collaborator

No description provided.

$this->state = $this->provider->getState();

return $url;
}

/**
* Get the oAuth2 state variable for security checks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should still keep the descriptions. They are helpful to know what the function does.

Removing the return and params is fine because you've typed it anyways

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for the suggestion. I usually avoid comments that basically match the method name. Seem reduntant. Will try to keep the ones that make sense.
I'm currently waiting on this v5 to see if it makes senso to give it a complete overhaul instead of some small updates, but not sure i have the time.

Any suggestion for a refactoring / improvement are welcome!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes that's how @xrobau works too. That makes sense. Maybe just keep it for stuff that needs an additional explanation.

I like having it for IDE purposes.

Everything else looked fine to me

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.

2 participants