Merge pull request #6202 from jitendrapurohit/CRM-16823
[civicrm-core.git] / Civi / API / Subscriber / APIv3SchemaAdapter.php
index 8d252762153f7f549da3a36c99ad3fd30c58d13b..195a8143ba59f9b5806ae24486cf6a8f2cd00580 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.                                    |
  |                                                                    |
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 namespace Civi\API\Subscriber;
 
@@ -92,6 +92,8 @@ class APIv3SchemaAdapter implements EventSubscriberInterface {
 
   /**
    * Return array of defaults for the given API (function is a wrapper on getfields).
+   * @param $fields
+   * @return array
    */
   public function getDefaults($fields) {
     $defaults = array();
@@ -106,6 +108,8 @@ class APIv3SchemaAdapter implements EventSubscriberInterface {
 
   /**
    * Return array of required fields for the given API (function is a wrapper on getfields).
+   * @param $fields
+   * @return array
    */
   public function getRequired($fields) {
     $required = array('version');
@@ -117,4 +121,5 @@ class APIv3SchemaAdapter implements EventSubscriberInterface {
     }
     return $required;
   }
+
 }