You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php
namespace App\Models;
use App\Models\BaseModel;
use Illuminate\Support\Facades\Config;
use OwenIt\Auditing\Contracts\Auditable;
class AuditableModel extends BaseModel implements Auditable
{
use \OwenIt\Auditing\Auditable;
/**
* {@inheritdoc}
*/
public function transformAudit(array $data): array
{
$data['system_id'] = optional(Config::get('system'))->id;
return $data;
}
}
composer update or php artisan package:discover --ansi
In Facade.php line 354:
A facade root has not been set.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: