Merge pull request #5520 from totten/4.6-cxn
[civicrm-core.git] / Civi / API / Subscriber / TransactionSubscriber.php
index b5e867e81f738da695454b306837211332afd3c4..35fa1eb49cea3101686f9577dc19c00bcaf3265c 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -69,7 +69,7 @@ class TransactionSubscriber implements EventSubscriberInterface {
   private $forceRollback = array();
 
   /**
-   * Determine if an API request should be treated as transactional
+   * Determine if an API request should be treated as transactional.
    *
    * @param \Civi\API\Provider\ProviderInterface $apiProvider
    *   The API provider responsible for this request.
@@ -144,7 +144,7 @@ class TransactionSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * Close any pending transactions
+   * Close any pending transactions.
    *
    * @param \Civi\API\Event\RespondEvent $event
    *   API response event.
@@ -160,7 +160,7 @@ class TransactionSubscriber implements EventSubscriberInterface {
   }
 
   /**
-   * Rollback the pending transaction
+   * Rollback the pending transaction.
    *
    * @param \Civi\API\Event\ExceptionEvent $event
    *   API exception event.