Skip to content

Commit 875cd03

Browse files
committed
feat(strings): add new methods dd and dump
1 parent 6849516 commit 875cd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Strings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2750,7 +2750,7 @@ static function (&$value) use ($encoding): void {
27502750
*/
27512751
public function dump(?callable $callback = null): self
27522752
{
2753-
$callback ? $callback($this->strings) : print_r($this->strings);
2753+
$callback ? $callback($this->toString()) : print_r($this->toString());
27542754

27552755
return $this;
27562756
}

0 commit comments

Comments
 (0)