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

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Object/AbstractObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,9 @@ public function getTextToDisplay()
{
if ($this->withChecksumInText) {
return $this->getText();
} else {
return $this->addLeadingZeros($this->text, true);
}

return $this->addLeadingZeros($this->text, true);
}

/**
Expand Down Expand Up @@ -758,9 +758,9 @@ public function getQuietZone()
{
if ($this->withQuietZones || $this->mandatoryQuietZones) {
return 10 * $this->barThinWidth * $this->factor;
} else {
return 0;
}

return 0;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Object/Code39.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public function getTextToDisplay()
$text = parent::getTextToDisplay();
if (substr($text, 0, 1) != '*' && substr($text, -1) != '*') {
return '*' . $text . '*';
} else {
return $text;
}

return $text;
}

/**
Expand Down

0 comments on commit 71ba5e4

Please sign in to comment.