INFRA-132 Function comment short description must end with a full stop
[civicrm-core.git] / CRM / ACL / Form / WordPress / Permissions.php
index 489bd60757b1cc386649379e1474bedbd33e3a6d..1523533f44c2cb6acc655405ec113ecfc5110ebb 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        |
   +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -39,7 +39,7 @@
 class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -90,7 +90,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
           'type' => 'next',
           'name' => ts('Save'),
           'spacing' => '',
-          'isDefault' => FALSE
+          'isDefault' => FALSE,
         ),
       )
     );
@@ -98,7 +98,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
@@ -143,7 +143,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
           CRM_Core_Session::setStatus(
             ts('The %1 role was assigned one or more permissions that may prove dangerous for users of that role to have. Please reconsider assigning %2 to them.', array(
                 1 => $wp_roles->role_names[$role],
-                2 => implode(', ', $warningPermissionNames)
+                2 => implode(', ', $warningPermissionNames),
               )),
             ts('Unsafe Permission Settings')
           );
@@ -189,4 +189,5 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
 
     return $perms_array;
   }
+
 }