Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 9bed4b0

Browse files
committed
Fixes DocBlocks in Zend_Barcode_Renderer_Pdf
1 parent ed5bf1e commit 9bed4b0

File tree

1 file changed

+12
-9
lines changed
  • library/Zend/Barcode/Renderer

1 file changed

+12
-9
lines changed

library/Zend/Barcode/Renderer/Pdf.php

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@ class Zend_Barcode_Renderer_Pdf extends Zend_Barcode_Renderer_RendererAbstract
6262

6363
/**
6464
* Set an image resource to draw the barcode inside
65-
* @param resource $value
65+
*
66+
* @param Zend_Pdf $pdf
67+
* @param int $page
6668
* @return Zend_Barcode_Renderer
67-
* @throw Zend_Barcode_Renderer_Exception
69+
* @throws Zend_Barcode_Renderer_Exception
6870
*/
6971
public function setResource($pdf, $page = 0)
7072
{
@@ -167,13 +169,14 @@ protected function _drawPolygon($points, $color, $filled = true)
167169

168170
/**
169171
* Draw a text in the rendering resource
170-
* @param string $text
171-
* @param float $size
172-
* @param array $position
173-
* @param string $font
174-
* @param integer $color
175-
* @param string $alignment
176-
* @param float $orientation
172+
*
173+
* @param string $text
174+
* @param float $size
175+
* @param array $position
176+
* @param string $font
177+
* @param integer $color
178+
* @param string $alignment
179+
* @param float|int $orientation
177180
*/
178181
protected function _drawText(
179182
$text,

0 commit comments

Comments
 (0)