INFRA-132 Function comment short description must end with a full stop
[civicrm-core.git] / CRM / ACL / Form / WordPress / Permissions.php
index f4c3e14fd095938f394dcd3cffbb9e8f72869143..1523533f44c2cb6acc655405ec113ecfc5110ebb 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
   +--------------------------------------------------------------------+
   | CiviCRM version 4.6                                                |
@@ -24,7 +23,7 @@
   | GNU Affero General Public License or the licensing of CiviCRM,     |
   | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
   +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -40,7 +39,7 @@
 class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
 
   /**
-   * Build the form object
+   * Build the form object.
    *
    * @return void
    */
@@ -91,7 +90,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
           'type' => 'next',
           'name' => ts('Save'),
           'spacing' => '',
-          'isDefault' => FALSE
+          'isDefault' => FALSE,
         ),
       )
     );
@@ -99,7 +98,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
   }
 
   /**
-   * Process the form submission
+   * Process the form submission.
    *
    * @return void
    */
@@ -144,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')
           );
@@ -190,4 +189,5 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
 
     return $perms_array;
   }
+
 }