INFRA-132 - CRM/Core - phpcbf
[civicrm-core.git] / CRM / Core / StateMachine.php
index 9c956486477a62357b8dc02763e471281b100e85..3e7f7f92ffd4f80196825868b5f5e45b43325ce8 100644 (file)
@@ -225,8 +225,8 @@ class CRM_Core_StateMachine {
    */
   public function &getState($name) {
     if (isset($this->_states[$name])) {
-    return $this->_states[$name];
-  }
+      return $this->_states[$name];
+    }
 
     /*
      * This is a gross hack for ajax driven requests where
@@ -239,7 +239,7 @@ class CRM_Core_StateMachine {
       }
     }
 
-    return null;
+    return NULL;
   }
 
   /**
@@ -395,6 +395,6 @@ class CRM_Core_StateMachine {
    */
   public function shouldReset() {
     return TRUE;
-}
+  }
 
 }