Skip to content

Commit 7f8df08

Browse files
authored
Update HasSlug.php
1 parent 04dba93 commit 7f8df08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HasSlug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function slugExists($slug, $locale = null, $i = 0)
110110
*/
111111
protected function getSlugExistsQuery($whereKey, $slug)
112112
{
113-
return $query = static::where($whereKey, $slug)
113+
return static::where($whereKey, $slug)
114114
->withoutGlobalScopes();
115115
}
116116

0 commit comments

Comments
 (0)