Remove reference to guard from models.

This commit is contained in:
James Cole
2018-02-09 19:24:15 +01:00
parent 14772469ed
commit 53a6c10ada
17 changed files with 21 additions and 21 deletions

View File

@@ -91,7 +91,7 @@ class Tag extends Model
*
* @return Tag
*/
public static function routeBinder($guard, string $value): Tag
public static function routeBinder(string $value): Tag
{
if ($guard->check()) {
$tagId = intval($value);