Skip to content

Commit

Permalink
feat(strings): add new methods dd and dump
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Jun 2, 2022
1 parent 78a40dd commit 6849516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Strings.php
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,7 @@ static function (&$value) use ($encoding): void {
*/
public function dump(?callable $callback = null): self
{
$callback ? $callback($this->strings) : print_r($this->items);
$callback ? $callback($this->strings) : print_r($this->strings);

return $this;
}
Expand Down

0 comments on commit 6849516

Please sign in to comment.