Strict comparisons.

This commit is contained in:
James Cole committed 2017-07-15 16:41:07 +02:00
1 parent c03ab269f0
commit 22144b78ea
59 files changed
+110 -107

No files matched your search

@@ -86,7 +86,7 @@ class MassController extends Controller
foreach ($ids as $journalId) {
/** @var TransactionJournal $journal */
$journal = $repository->find(intval($journalId));
if (!is_null($journal->id) && $journalId == $journal->id) {
if (!is_null($journal->id) && $journalId === $journal->id) {
$set->push($journal);
}
}