--- a/web/lib/Zend/Pdf/Annotation/Link.php Thu May 07 15:10:09 2015 +0200
+++ b/web/lib/Zend/Pdf/Annotation/Link.php Thu May 07 15:16:02 2015 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Link.php 24593 2012-01-05 20:35:02Z matthew $
+ * @version $Id$
*/
/** Internally used classes */
@@ -40,7 +40,7 @@
*
* @package Zend_Pdf
* @subpackage Annotation
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Pdf_Annotation_Link extends Zend_Pdf_Annotation
@@ -70,18 +70,19 @@
/**
* Create link annotation object
*
- * @param float $x1
- * @param float $y1
- * @param float $x2
- * @param float $y2
+ * @param float $x1
+ * @param float $y1
+ * @param float $x2
+ * @param float $y2
* @param Zend_Pdf_Target|string $target
* @return Zend_Pdf_Annotation_Link
+ * @throws Zend_Pdf_Exception
*/
public static function create($x1, $y1, $x2, $y2, $target)
{
if (is_string($target)) {
require_once 'Zend/Pdf/Destination/Named.php';
- $destination = Zend_Pdf_Destination_Named::create($target);
+ $target = Zend_Pdf_Destination_Named::create($target);
}
if (!$target instanceof Zend_Pdf_Target) {
require_once 'Zend/Pdf/Exception.php';