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

Commit 6776b37

Browse files
committed
Make decodeSlug public
1 parent 27acd15 commit 6776b37

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
@@ -122,7 +122,7 @@ public function where(... $arguments){
122122
* @param string $slug
123123
* @return int|null
124124
*/
125-
private static function decodeSlug($slug){
125+
public static function decodeSlug($slug){
126126
$hashids = static::getHashids();
127127

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

0 commit comments

Comments
 (0)