1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

ZIP Imports: Added listing, show view, delete, activity

This commit is contained in:
Dan Brown
2024-11-03 14:13:05 +00:00
parent 8ea3855e02
commit c6109c7087
11 changed files with 193 additions and 6 deletions

View File

@ -152,10 +152,8 @@ abstract class Controller extends BaseController
/**
* Log an activity in the system.
*
* @param string|Loggable $detail
*/
protected function logActivity(string $type, $detail = ''): void
protected function logActivity(string $type, string|Loggable $detail = ''): void
{
Activity::add($type, $detail);
}