spatie / laravel-activitylog

Log activity inside your Laravel app

Home Page:https://docs.spatie.be/laravel-activitylog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade to V4 error incompatible declaration

SkyZySR opened this issue · comments

commented

Declaration of App\Models\Activity::getExtraProperty(string $propertyName) must be compatible with Spatie\Activitylog\Contracts\Activity::getExtraProperty(string $propertyName, mixed $defaultValue): mixed {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Declaration of App\Models\Activity::getExtraProperty(string $propertyName) must be compatible with Spatie\Activitylog\Contracts\Activity::getExtraProperty(string $propertyName, mixed $defaultValue): mixed at D:\web\app\Models\Activity.php:47)

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days