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

Commit

Permalink
Merge branch 'hotfix/zendframework/zendframework#6093-dead-code-clean…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Apr 8, 2014
2 parents 7f2fed2 + 3a3a89f commit b528fc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Hydrator/HydratorAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

namespace Zend\Stdlib\Hydrator;

use Zend\Stdlib\hydrator\HydratorInterface;

trait HydratorAwareTrait
{
/**
Expand Down
2 changes: 0 additions & 2 deletions src/StringWrapper/AbstractStringWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ public function strPad($input, $padLength, $padString = ' ', $padType = STR_PAD_
$repeatCount = floor($lengthOfPadding / $padStringLength);

if ($padType === STR_PAD_BOTH) {
$lastStringLeft = '';
$lastStringRight = '';
$repeatCountLeft = $repeatCountRight = ($repeatCount - $repeatCount % 2) / 2;

$lastStringLength = $lengthOfPadding - 2 * $repeatCountLeft * $padStringLength;
Expand Down

0 comments on commit b528fc5

Please sign in to comment.