Skip to content

Commit

Permalink
zendframework#6261 - minor CS fixes in StringTrim
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed May 18, 2014
1 parent 4a1ab31 commit 5ac5618
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/Zend/Filter/StringTrim.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ public function __construct($charlistOrOptions = null)
*/
public function setCharList($charList)
{
if (!strlen($charList)) {
if (! strlen($charList)) {
$charList = null;
}

$this->options['charlist'] = $charList;

return $this;
}

Expand Down

0 comments on commit 5ac5618

Please sign in to comment.