/** * Scan a transaction journal for possibly related bills after it has been updated. * * @param TransactionJournalUpdated $event * * @return bool */ public function handle(TransactionJournalUpdated $event) : bool { $journal = $event->journal; BillScanner::scan($journal); return true; }
/** * Scan a transaction journal for possibly related bills after it has been updated. * * @param TransactionJournalUpdated $event * * @return void */ public function handle(TransactionJournalUpdated $event) { $journal = $event->journal; BillScanner::scan($journal); }