diff --git a/src/Hydrator/HydratorAwareTrait.php b/src/Hydrator/HydratorAwareTrait.php index b291d4b5e..94df73070 100644 --- a/src/Hydrator/HydratorAwareTrait.php +++ b/src/Hydrator/HydratorAwareTrait.php @@ -9,8 +9,6 @@ namespace Zend\Stdlib\Hydrator; -use Zend\Stdlib\hydrator\HydratorInterface; - trait HydratorAwareTrait { /** diff --git a/src/StringWrapper/AbstractStringWrapper.php b/src/StringWrapper/AbstractStringWrapper.php index d3e8830d6..74d0c55f1 100644 --- a/src/StringWrapper/AbstractStringWrapper.php +++ b/src/StringWrapper/AbstractStringWrapper.php @@ -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;