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

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
micheh committed Apr 7, 2014
1 parent 4886dd7 commit 3a3a89f
Showing 1 changed file with 0 additions and 2 deletions.
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 3a3a89f

Please sign in to comment.