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

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
tr committed Aug 13, 2012
2 parents 34dd90e + 589d10e commit 181ab3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Object/Codabar.php
Expand Up @@ -43,7 +43,7 @@ protected function calculateBarcodeWidth()
$quietZone = $this->getQuietZone();
$encodedData = 0;
$barcodeChar = str_split($this->getText());
if(count($barcodeChar) > 1) {
if (count($barcodeChar) > 1) {
foreach ($barcodeChar as $c) {
$encodedData += ((strlen($this->codingMap[$c]) + 1) * $this->barThinWidth) * $this->factor;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Object/Royalmail.php
Expand Up @@ -126,7 +126,7 @@ public function getChecksum($text)
$values = str_split($text);
$rowvalue = 0;
$colvalue = 0;
foreach($values as $row) {
foreach ($values as $row) {
$rowvalue += $this->rows[$row];
$colvalue += $this->columns[$row];
}
Expand Down

0 comments on commit 181ab3e

Please sign in to comment.