Skip to content

Commit

Permalink
Merge pull request #893 from barryvdh/patch-4
Browse files Browse the repository at this point in the history
[3.x] Add entry to afterRecording hook
  • Loading branch information
taylorotwell committed May 11, 2020
2 parents d1d7531 + f6a0586 commit 753fc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telescope.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ protected static function record(string $type, IncomingEntry $entry)
}

if (static::$afterRecordingHook) {
call_user_func(static::$afterRecordingHook, new static);
call_user_func(static::$afterRecordingHook, new static, $entry);
}
});
}
Expand Down

0 comments on commit 753fc34

Please sign in to comment.