X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/60d0f96cd754a85c637a5f34dcc0341f4ef72a46..refs/pull/2023/head:/app/Http/Controllers/BookExportController.php diff --git a/app/Http/Controllers/BookExportController.php b/app/Http/Controllers/BookExportController.php index ae3f56b81..cfa3d6a3a 100644 --- a/app/Http/Controllers/BookExportController.php +++ b/app/Http/Controllers/BookExportController.php @@ -4,25 +4,16 @@ namespace BookStack\Http\Controllers; use BookStack\Entities\ExportService; use BookStack\Entities\Repos\BookRepo; -use BookStack\Exceptions\NotFoundException; use Throwable; class BookExportController extends Controller { - /** - * @var BookRepo - */ - protected $bookRepo; - /** - * @var ExportService - */ + protected $bookRepo; protected $exportService; /** * BookExportController constructor. - * @param BookRepo $bookRepo - * @param ExportService $exportService */ public function __construct(BookRepo $bookRepo, ExportService $exportService) { @@ -33,9 +24,6 @@ class BookExportController extends Controller /** * Export a book as a PDF file. - * @param string $bookSlug - * @return mixed - * @throws NotFoundException * @throws Throwable */ public function pdf(string $bookSlug) @@ -47,9 +35,6 @@ class BookExportController extends Controller /** * Export a book as a contained HTML file. - * @param string $bookSlug - * @return mixed - * @throws NotFoundException * @throws Throwable */ public function html(string $bookSlug) @@ -61,9 +46,6 @@ class BookExportController extends Controller /** * Export a book as a plain text file. - * @param $bookSlug - * @return mixed - * @throws NotFoundException */ public function plainText(string $bookSlug) {