mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Aligned constructors across controller classes
Since they no longer needed to run the parent contructor since the parent constructor was no longer needed.
This commit is contained in:
@ -16,14 +16,11 @@ class PageExportController extends Controller
|
||||
|
||||
/**
|
||||
* PageExportController constructor.
|
||||
* @param PageRepo $pageRepo
|
||||
* @param ExportService $exportService
|
||||
*/
|
||||
public function __construct(PageRepo $pageRepo, ExportService $exportService)
|
||||
{
|
||||
$this->pageRepo = $pageRepo;
|
||||
$this->exportService = $exportService;
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user