Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotifx/4355' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions src/Object/AbstractObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function getType()
* Set height of the barcode bar
* @param int $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setBarHeight($value)
{
Expand All @@ -300,7 +300,7 @@ public function getBarHeight()
* Set thickness of thin bar
* @param int $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setBarThinWidth($value)
{
Expand All @@ -326,7 +326,7 @@ public function getBarThinWidth()
* Set thickness of thick bar
* @param int $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setBarThickWidth($value)
{
Expand All @@ -353,7 +353,7 @@ public function getBarThickWidth()
* thinBarWidth - thickBarWidth - barHeight - fontSize
* @param float $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setFactor($value)
{
Expand All @@ -380,7 +380,7 @@ public function getFactor()
* Set color of the barcode and text
* @param string $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setForeColor($value)
{
Expand Down Expand Up @@ -409,7 +409,7 @@ public function getForeColor()
* Set the color of the background
* @param int $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setBackgroundColor($value)
{
Expand Down Expand Up @@ -490,7 +490,7 @@ public function setReverseColor()
* Set orientation of barcode and text
* @param float $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setOrientation($value)
{
Expand Down Expand Up @@ -602,7 +602,7 @@ public function getDrawText()
* of the characters to the position of the bars
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setStretchText($value)
{
Expand Down Expand Up @@ -651,7 +651,7 @@ public function getWithChecksum()
* added to the barcode text
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setWithChecksumInText($value)
{
Expand All @@ -677,7 +677,7 @@ public function getWithChecksumInText()
* - if string, $value is assumed to be the path to a TTF font
* @param int|string $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setFont($value)
{
Expand Down Expand Up @@ -717,7 +717,7 @@ public function getFont()
* Set the size of the font in case of TTF
* @param float $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
public function setFontSize($value)
{
Expand Down Expand Up @@ -845,7 +845,7 @@ public function checkParams()
/**
* Check if a text is really provided to barcode
* @return void
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
protected function checkText($value = null)
{
Expand All @@ -865,7 +865,7 @@ protected function checkText($value = null)
* @param int $min
* @param int $max
* @return void
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
protected function checkRatio($min = 2, $max = 3)
{
Expand All @@ -883,7 +883,7 @@ protected function checkRatio($min = 2, $max = 3)
/**
* Drawing with an angle is just allow TTF font
* @return void
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
* @throws \Zend\Barcode\Object\Exception\ExceptionInterface
*/
protected function checkFontAndOrientation()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Identcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getTextToDisplay()
* Check allowed characters
* @param string $value
* @return string
* @throw Exception
* @throws Exception
*/
public function validateText($value)
{
Expand Down

0 comments on commit 644a1db

Please sign in to comment.