From 875cd03579329dea64ab4f26888a4150da8d044a Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 2 Jun 2022 15:01:45 +0300 Subject: [PATCH] feat(strings): add new methods `dd` and `dump` --- src/Strings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Strings.php b/src/Strings.php index b100fc8..a732a80 100644 --- a/src/Strings.php +++ b/src/Strings.php @@ -2750,7 +2750,7 @@ static function (&$value) use ($encoding): void { */ public function dump(?callable $callback = null): self { - $callback ? $callback($this->strings) : print_r($this->strings); + $callback ? $callback($this->toString()) : print_r($this->toString()); return $this; }