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

@@ -72,7 +72,7 @@ class TransactionType extends Model
*
* @return Model|null|static
*/
public static function routeBinder($guard, string $type): TransactionType
public static function routeBinder(string $type): TransactionType
{
if (!$guard->check()) {
throw new NotFoundHttpException();