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

Commit 3a3a89f

Browse files
committed
Remove unused variables
1 parent 4886dd7 commit 3a3a89f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/StringWrapper/AbstractStringWrapper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ public function strPad($input, $padLength, $padString = ' ', $padType = STR_PAD_
245245
$repeatCount = floor($lengthOfPadding / $padStringLength);
246246

247247
if ($padType === STR_PAD_BOTH) {
248-
$lastStringLeft = '';
249-
$lastStringRight = '';
250248
$repeatCountLeft = $repeatCountRight = ($repeatCount - $repeatCount % 2) / 2;
251249

252250
$lastStringLength = $lengthOfPadding - 2 * $repeatCountLeft * $padStringLength;

0 commit comments

Comments
 (0)