diff --git a/src/XML2Array.php b/src/XML2Array.php
index <HASH>..<HASH> 100644
--- a/src/XML2Array.php
+++ b/src/XML2Array.php
@@ -32,7 +32,8 @@ class XML2Array
      *
      * @param string $inputXml - xml to convert
      *
-     * @return \DOMDocument
+     * @return array
+     *
      * @throws \InvalidArgumentException
      */
     public static function createArray($inputXml)
fix #1 - Return type of createArray is wrong