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

@@ -44,7 +44,7 @@ class TransactionJournalLink extends Model
*
* @throws NotFoundHttpException
*/
public static function routeBinder($guard, string $value): TransactionJournalLink
public static function routeBinder(string $value): TransactionJournalLink
{
if ($guard->check()) {
$linkId = intval($value);