style fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 6 Jul 2015 04:33:31 +0000 (10:03 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 10 Jul 2015 04:46:07 +0000 (10:16 +0530)
Civi/API/Subscriber/PermissionCheck.php

index b427fa0a05b3e19db1f78a304dd4bbd26e1aaa80..184a8305b98ba2c44c038b765cbde0f4a213af99 100644 (file)
@@ -90,10 +90,10 @@ class PermissionCheck implements EventSubscriberInterface {
   /**
    * check API for ACL permission.
    * @param $apiRequest
-   * @return boolean
+   * @return bool
    */
   public function checkACLPermission($apiRequest) {
-    switch($apiRequest['entity']) {
+    switch ($apiRequest['entity']) {
       case 'UFGroup':
       case 'UFField':
         $ufGroups = \CRM_Core_PseudoConstant::get('CRM_Core_DAO_UFField', 'uf_group_id');