Various code cleanup [skip ci]

This commit is contained in:
James Cole
2018-03-10 22:38:20 +01:00
parent a55d18709c
commit aad0864018
59 changed files with 118 additions and 120 deletions

View File

@@ -2,7 +2,6 @@
declare(strict_types=1);
/**
* ValidTransactions.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@@ -75,10 +74,12 @@ class ValidTransactions implements Rule
->where('accounts.user_id', $userId)->count();
if ($count === 0) {
Log::debug(sprintf('Count for transaction #%d and user #%d is zero! Return FALSE', $transactionId, $userId));
return false;
}
}
Log::debug('Return true!');
return true;
}
}