Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit 5b0f3ce

Browse files
committed
Make decodeSlug public
1 parent 3759180 commit 5b0f3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HasHashSlug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function resolveRouteBinding($slug){
115115
* @param string $slug
116116
* @return int|null
117117
*/
118-
private static function decodeSlug($slug){
118+
public static function decodeSlug($slug){
119119
$hashids = static::getHashids();
120120

121121
$decoded = $hashids->decode($slug);

0 commit comments

Comments
 (0)