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

Commit

Permalink
Make decodeSlug public
Browse files Browse the repository at this point in the history
  • Loading branch information
balping committed Oct 7, 2017
1 parent 27acd15 commit 6776b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasHashSlug.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function where(... $arguments){
* @param string $slug
* @return int|null
*/
private static function decodeSlug($slug){
public static function decodeSlug($slug){
$hashids = static::getHashids();

$decoded = $hashids->decode($slug);
Expand Down

0 comments on commit 6776b37

Please sign in to comment.