Skip to content

Commit

Permalink
Update MacroServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Feb 7, 2025
1 parent 4d8b1cd commit a81d133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macros/MacroServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function boot(): void
*/
fn (string $hashedValue, string $key = 'id'): bool =>
/* @var Collection $this */
$this->contains($key, hashids()->tryEncode($hashedValue)),
$this->contains($key, hashids()->tryDecode($hashedValue)),
);
}

Expand Down

0 comments on commit a81d133

Please sign in to comment.