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

(NFC) Civi/*, CRM_Utils_SQL_Select - Fix various warnings #9657

Merged
merged 7 commits into from
Jan 10, 2017

Conversation

totten
Copy link
Member

@totten totten commented Jan 10, 2017

No description provided.

@@ -36,6 +36,7 @@ public static function onCaseChange_static(\Civi\CCase\Event\CaseChangeEvent $ev
* @param \Civi\CCase\Event\CaseChangeEvent $event
*
* @throws \CiviCRM_API3_Exception
* @return void
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 this is not part of the drupal std

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I'm not attached to that. No sweat off my back if it's removed. I only really care about writing code that passes civicrm/coder. ;)

FWIW, this seems like a conflict between some standard (e.g. drupal/coder vs PHPStorm or civicrm/coder?) My PHPStorm insisted on having a @return annotation because the function includes return; statements.

@eileenmcnaughton
Copy link
Contributor

I'm giving this merge-on-pass. I think the void is wrong - but I think it can be fixed in a later round when applying more standards & prefer to get this merged while it's not stale

@eileenmcnaughton eileenmcnaughton merged commit fbc6bb9 into civicrm:master Jan 10, 2017
@totten totten deleted the master-docblocks branch January 10, 2017 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants