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

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