CRM-15779 remove duplicate code block
[civicrm-core.git] / CRM / Contact / DAO / Factory.php
index 419885a19dd893dcec6880cfdac1ad0d41e84bec..e26ad410e8865bad6c1a6ab7ea6b471db55dae06 100644 (file)
@@ -1,5 +1,8 @@
 <?php
 
+/**
+ * Class CRM_Contact_DAO_Factory
+ */
 class CRM_Contact_DAO_Factory {
 
   static $_classes = array(
@@ -23,6 +26,11 @@ class CRM_Contact_DAO_Factory {
 
   static $_suffix = '.php';
 
+  /**
+   * @param string $className
+   *
+   * @return mixed
+   */
   static function &create($className) {
     $type = CRM_Utils_Array::value($className, self::$_classes);
     if (!$type) {