@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Activitylog\Traits; |
| 4 | 4 | |
| 5 | -use Spatie\Activitylog\ActivitylogServiceProvider; |
|
| 6 | 5 | use Illuminate\Database\Eloquent\Relations\MorphMany; |
| 6 | +use Spatie\Activitylog\ActivitylogServiceProvider; |
|
| 7 | 7 | |
| 8 | 8 | trait CausesActivity |
| 9 | 9 | { |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Activitylog\Traits; |
| 4 | 4 | |
| 5 | +use Illuminate\Database\Eloquent\Model; |
|
| 6 | +use Illuminate\Database\Eloquent\Relations\MorphMany; |
|
| 7 | +use Illuminate\Database\Eloquent\SoftDeletes; |
|
| 5 | 8 | use Illuminate\Support\Arr; |
| 6 | 9 | use Illuminate\Support\Collection; |
| 7 | 10 | use Spatie\Activitylog\ActivityLogger; |
| 8 | -use Illuminate\Database\Eloquent\Model; |
|
| 9 | -use Illuminate\Database\Eloquent\SoftDeletes; |
|
| 10 | 11 | use Spatie\Activitylog\ActivitylogServiceProvider; |
| 11 | -use Illuminate\Database\Eloquent\Relations\MorphMany; |
|
| 12 | 12 | |
| 13 | 13 | trait LogsActivity |
| 14 | 14 | { |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Activitylog; |
| 4 | 4 | |
| 5 | -use Spatie\String\Str; |
|
| 6 | -use Illuminate\Support\Arr; |
|
| 7 | 5 | use Illuminate\Auth\AuthManager; |
| 6 | +use Illuminate\Contracts\Config\Repository; |
|
| 8 | 7 | use Illuminate\Database\Eloquent\Model; |
| 8 | +use Illuminate\Support\Arr; |
|
| 9 | 9 | use Illuminate\Support\Traits\Macroable; |
| 10 | -use Illuminate\Contracts\Config\Repository; |
|
| 11 | -use Spatie\Activitylog\Exceptions\CouldNotLogActivity; |
|
| 12 | 10 | use Spatie\Activitylog\Contracts\Activity as ActivityContract; |
| 11 | +use Spatie\Activitylog\Exceptions\CouldNotLogActivity; |
|
| 12 | +use Spatie\String\Str; |
|
| 13 | 13 | |
| 14 | 14 | class ActivityLogger |
| 15 | 15 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Activitylog\Traits; |
| 4 | 4 | |
| 5 | +use Illuminate\Database\Eloquent\Model; |
|
| 5 | 6 | use Illuminate\Support\Arr; |
| 6 | 7 | use Illuminate\Support\Str; |
| 7 | -use Illuminate\Database\Eloquent\Model; |
|
| 8 | 8 | use Spatie\Activitylog\Exceptions\CouldNotLogChanges; |
| 9 | 9 | |
| 10 | 10 | trait DetectsChanges |