Skip to content

Commit

Permalink
Expand the comment on the array trim a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Aug 14, 2023
1 parent 13222c0 commit a14d42c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ public function value($value)
default:
throw new \LogicException("Unreachable");
}
//if value an empty string, the array will fill with one value

// If the input value is an empty string then the resulting array will
// contain exactly one empty string element.
$this->value = ArrayUtil::trim($this->value);

return $this;
Expand Down

0 comments on commit a14d42c

Please sign in to comment.