owen-it / laravel-auditing-doc

Laravel Auditing Documentation
http://laravel-auditing.com
56 stars 62 forks source link

Fixed typos/errors in auditor in mongo #73

Closed ksbomj closed 5 years ago

ksbomj commented 5 years ago

Hi there,

My implementation is using mongo. I've tried new version (8.0.3), the example doesn't work in php 7.1.9.

So wrong items:

  1. \OwenIt\Auditing\Contracts\Audit contract requires a method getTable to return string
  2. According to the same contract, MorphTo must be Illuminate\Database\Eloquent\Relations\MorphTo

Please correct me if I wrong

ksbomj commented 5 years ago

no changes needed

quetzyg commented 5 years ago

Just to let you know that the docs have been slightly updated and version 8.0.4 of the package allows any MorphTo implementation.