Merge pull request #5080 from eileenmcnaughton/comment-full-stops
[civicrm-core.git] / CRM / Utils / Hook / WordPress.php
index 4ba46aa454abdd3fd39fe8e79a9a2b650e1464b8..b436a8ab6ca4d567932a7ad68eba01cb05b9152f 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -64,7 +64,7 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook {
   );
 
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
@@ -109,7 +109,7 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook {
      */
 
     // distinguish between types of hook
-    if (! in_array($fnSuffix, $this->hooksThatReturn)) {
+    if (!in_array($fnSuffix, $this->hooksThatReturn)) {
 
       // only pass the arguments that have values
       $args = array_slice(
@@ -169,7 +169,6 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook {
   }
 
 
-
   /**
    * Build the list of plugins ("modules" in CiviCRM terminology) to be processed for hooks.
    * We need to do this to preserve the CiviCRM hook signatures for hooks that require
@@ -220,6 +219,4 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook {
     }
   }
 
-
-
 }