More code cleanup.

This commit is contained in:
James Cole
2016-01-15 20:57:26 +01:00
parent 51062bc80b
commit ffdd37ddd5
3 changed files with 6 additions and 5 deletions

View File

@@ -514,12 +514,11 @@ class TransactionJournal extends Model
/**
* @param $value
* @param $route
*
* @return mixed
* @throws NotFoundHttpException
*/
public static function routeBinder($value, $route)
public static function routeBinder($value)
{
if (Auth::check()) {
$validTypes = [TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::TRANSFER];