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

Update CampaignStat.php #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ANISHkumarSINHA
Copy link

Adding Comments for better understanding

Adding Comments for better understanding
@ANISHkumarSINHA
Copy link
Author

Adding comments for better understanding

@jensschuppe
Copy link
Collaborator

@ANISHkumarSINHA thanks for your contribution!

I'm not sure I'd agree that all of those comments are necessary (e.g. // Get the campaign ID from the parameters above $campaignId = $params['id'];) which is basically self-explanatory.

At least inline comments (e.g. 'type' => CRM_Utils_Type::T_INT, // Integer type) do not comply with CiviCRM code style guidelines.

As this extension is somewhat in a legacy state because it has a more modern successor (see https://lab.civicrm.org/extensions/campaignmanager/), we can't really provide an in-depth review, apart from comments like this one.

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