--- a/web/lib/Zend/Barcode/Renderer/Image.php Thu May 07 15:10:09 2015 +0200
+++ b/web/lib/Zend/Barcode/Renderer/Image.php Thu May 07 15:16:02 2015 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Barcode
* @subpackage Renderer
- * @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: Image.php 24593 2012-01-05 20:35:02Z matthew $
+ * @version $Id$
*/
/** @see Zend_Barcode_Renderer_RendererAbstract*/
@@ -28,7 +28,7 @@
*
* @category Zend
* @package Zend_Barcode
- * @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_Barcode_Renderer_Image extends Zend_Barcode_Renderer_RendererAbstract
@@ -91,9 +91,10 @@
/**
* Set height of the result image
+ *
* @param null|integer $value
* @return Zend_Image_Barcode_Abstract
- * @throw Zend_Image_Barcode_Exception
+ * @throws Zend_Barcode_Renderer_Exception
*/
public function setHeight($value)
{
@@ -121,7 +122,8 @@
* Set barcode width
*
* @param mixed $value
- * @return void
+ * @return self
+ * @throws Zend_Barcode_Renderer_Exception
*/
public function setWidth($value)
{
@@ -148,9 +150,9 @@
/**
* Set an image resource to draw the barcode inside
*
- * @param resource $value
+ * @param $image
* @return Zend_Barcode_Renderer
- * @throw Zend_Barcode_Renderer_Exception
+ * @throws Zend_Barcode_Renderer_Exception
*/
public function setResource($image)
{
@@ -169,7 +171,7 @@
*
* @param string $value
* @return Zend_Barcode_RendererAbstract
- * @throw Zend_Barcode_Renderer_Exception
+ * @throws Zend_Barcode_Renderer_Exception
*/
public function setImageType($value)
{
@@ -203,6 +205,7 @@
* Initialize the image resource
*
* @return void
+ * @throws Zend_Barcode_Exception
*/
protected function _initRenderer()
{
@@ -287,6 +290,7 @@
* Check barcode dimensions
*
* @return void
+ * @throws Zend_Barcode_Renderer_Exception
*/
protected function _checkDimensions()
{
@@ -383,13 +387,14 @@
/**
* Draw a polygon in the image resource
*
- * @param string $text
- * @param float $size
- * @param array $position
- * @param string $font
- * @param integer $color
- * @param string $alignment
- * @param float $orientation
+ * @param string $text
+ * @param float $size
+ * @param array $position
+ * @param string $font
+ * @param integer $color
+ * @param string $alignment
+ * @param float|int $orientation
+ * @throws Zend_Barcode_Renderer_Exception
*/
protected function _drawText($text, $size, $position, $font, $color, $alignment = 'center', $orientation = 0)
{