Skip to content
Browse files

Removed not neccessary variable comversion as there is no strict comp…

…arison on it
  • Loading branch information...
1 parent 9811ee1 commit c5ec8cd3c25992f211d631c3a06fd21341f36a3a @marc-mabe committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 library/Zend/Stdlib/StringWrapper/AbstractStringWrapper.php
View
1 library/Zend/Stdlib/StringWrapper/AbstractStringWrapper.php
@@ -163,7 +163,6 @@ public function wordWrap($string, $width = 75, $break = "\n", $cut = false)
}
$width = (int) $width;
- $cut = (bool) $cut;
if ($width === 0 && $cut) {
throw new Exception\InvalidArgumentException('Cannot force cut when width is zero');
}

0 comments on commit c5ec8cd

Please sign in to comment.
Something went wrong with that request. Please try again.