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

@@ -48,7 +48,7 @@ class ExportJob extends Model
*
* @throws NotFoundHttpException
*/
public static function routeBinder($guard, string $value): ExportJob
public static function routeBinder(string $value): ExportJob
{
if ($guard->check()) {
$key = trim($value);