File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ protected function dispatchAudit(Auditable $model)
107
107
108
108
$ model ->preloadResolverData ();
109
109
if (!Config::get ('audit.queue.enable ' , false )) {
110
- return Auditor::execute ($ model );
110
+ Auditor::execute ($ model );
111
+ return ;
111
112
}
112
113
113
114
if (!$ this ->fireDispatchingAuditEvent ($ model )) {
Original file line number Diff line number Diff line change @@ -6,18 +6,12 @@ interface Auditor
6
6
{
7
7
/**
8
8
* Get an audit driver instance.
9
- *
10
- * @param \OwenIt\Auditing\Contracts\Auditable $model
11
- *
12
- * @return AuditDriver
13
9
*/
14
10
public function auditDriver (Auditable $ model ): AuditDriver ;
15
11
16
12
/**
17
13
* Perform an audit.
18
14
*
19
- * @param \OwenIt\Auditing\Contracts\Auditable $model
20
- *
21
15
* @return void
22
16
*/
23
17
public function execute (Auditable $ model );
You can’t perform that action at this time.
0 commit comments