Skip to content

Commit

Permalink
fix: laravel 8 Str::__toString method compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
phpsa authored Oct 10, 2022
1 parent a1617d1 commit b1fba91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ public function isRevealable(): bool

public function getXRef(): string
{
return Str::of($this->getId())->replace(".", "_")->prepend('input_')->studly()->snake()->toString();
return Str::of($this->getId())->replace(".", "_")->prepend('input_')->studly()->snake()->__toString();
}
}

0 comments on commit b1fba91

Please sign in to comment.