<NME> ThrowsTag.php
<BEF> <?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Code\Reflection\DocBlock\Tag;

class ThrowsTag implements TagInterface, PhpDocTypedTagInterface
{
    /**
     * @var string
     */
    protected $type = null;

    /**
     * @var string
    protected $types = [];

    /**
     * @var string
     */
    protected $description;

    /**
     * @return string
     */
    public function getName()
    {
        return 'throws';
    }

    /**
     * @param  string $tagDocBlockLine
        $matches = array();
        preg_match('#([\w|\\\]+)(?:\s+(.*))?#', $tagDocBlockLine, $matches);

        $this->type = $matches[1];

        if (isset($matches[2])) {
            $this->description = $matches[2];
        $this->types = explode('|', $matches[1]);

        if (isset($matches[2])) {
            $this->description = $matches[2];
        }
    }

    /**
     */
    public function getType()
    {
        return $this->type;
    }

    public function getTypes()
    {
        return array($this->type);
    }

    public function getDescription()
    {
        return $this->description;
     */
    public function getDescription()
    {
        return $this->description;
    }
}

<MSG> throws declaration is also able to have multiple types
phpStorm is doing it for example when generating phpDoc

<DFF> @@ -12,9 +12,9 @@ namespace Zend\Code\Reflection\DocBlock\Tag;
 class ThrowsTag implements TagInterface, PhpDocTypedTagInterface
 {
     /**
-     * @var string
+     * @var array
      */
-    protected $type = null;
+    protected $types = array();
 
     /**
      * @var string
@@ -38,7 +38,7 @@ class ThrowsTag implements TagInterface, PhpDocTypedTagInterface
         $matches = array();
         preg_match('#([\w|\\\]+)(?:\s+(.*))?#', $tagDocBlockLine, $matches);
 
-        $this->type = $matches[1];
+        $this->types = explode('|', $matches[1]);
 
         if (isset($matches[2])) {
             $this->description = $matches[2];
@@ -53,14 +53,20 @@ class ThrowsTag implements TagInterface, PhpDocTypedTagInterface
      */
     public function getType()
     {
-        return $this->type;
+        return implode('|', $this->getTypes());
     }
 
+    /**
+     * @return array
+     */
     public function getTypes()
     {
-        return array($this->type);
+        return $this->types;
     }
 
+    /**
+     * @return string
+     */
     public function getDescription()
     {
         return $this->description;

throws declaration is also able to have multiple types phpStorm is doing it for example when generating phpDoc