File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,17 @@ public static function bootAuditingTrait()
56
56
}
57
57
58
58
/**
59
+ * Get list of logs
59
60
* @return mixed
60
61
*/
61
- public function log ()
62
+ public function logs ()
62
63
{
63
64
return $ this ->morphMany (Log::class, 'owner ' );
64
65
}
65
66
66
67
/**
67
- * Generates a list of the last $limit revisions made to any objects of the class it is being called from.
68
+ * Generates a list of the last $limit revisions made to any objects
69
+ * of the class it is being called from.
68
70
*
69
71
* @param int $limit
70
72
* @param string $order
@@ -187,7 +189,6 @@ private function getUserId()
187
189
*/
188
190
private function changedAuditingFields ()
189
191
{
190
-
191
192
$ changes_to_record = array ();
192
193
foreach ($ this ->dirtyData as $ key => $ value ) {
193
194
if ($ this ->isAuditing ($ key ) && !is_array ($ value )) {
You can’t perform that action at this time.
0 commit comments