mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 10:50:54 -04:00
- Removed unused uses - Type hinting for method parameters - Removed commented code - Introduced comments for classes and methods - Short array syntax
19 lines
345 B
PHP
19 lines
345 B
PHP
<?php namespace App\Listeners;
|
|
|
|
use App\Events\QuoteInvitationWasViewed;
|
|
|
|
/**
|
|
* Class QuoteListener
|
|
*/
|
|
class QuoteListener
|
|
{
|
|
/**
|
|
* @param QuoteInvitationWasViewed $event
|
|
*/
|
|
public function viewedQuote(QuoteInvitationWasViewed $event)
|
|
{
|
|
$invitation = $event->invitation;
|
|
$invitation->markViewed();
|
|
}
|
|
}
|