前端页面宽度 pits_downloadcenter 扩展 return 错误
Frontend page width pits_downloadcenter extension return error
我尝试在 TYPO3 9.5.7 中使用 pits_downloadcenter 扩展,当我尝试在前端查看页面时出现以下错误:
Doctrine\Common\Annotations\AnnotationException [Semantical Error] The
annotation "@void" in method
PITS\PitsDownloadcenter\Controller\DownloadController::forceDownloadAction()
was never imported. Did you maybe forget to add a "use" statement for
this annotation?
我向扩展程序添加了拉取请求,可在此处找到:https://github.com/hojaonline/pits_downloadcenter/pull/23/files
改变相当容易
--- a/Classes/Controller/DownloadController.php
+++ b/Classes/Controller/DownloadController.php
@@ -185,7 +185,7 @@ public function showAction()
* force download file
* by decrypting the file uid
*
- * @void
+ * @return void
*/
public function forceDownloadAction()
{
我尝试在 TYPO3 9.5.7 中使用 pits_downloadcenter 扩展,当我尝试在前端查看页面时出现以下错误:
Doctrine\Common\Annotations\AnnotationException [Semantical Error] The annotation "@void" in method PITS\PitsDownloadcenter\Controller\DownloadController::forceDownloadAction() was never imported. Did you maybe forget to add a "use" statement for this annotation?
我向扩展程序添加了拉取请求,可在此处找到:https://github.com/hojaonline/pits_downloadcenter/pull/23/files
改变相当容易
--- a/Classes/Controller/DownloadController.php
+++ b/Classes/Controller/DownloadController.php
@@ -185,7 +185,7 @@ public function showAction()
* force download file
* by decrypting the file uid
*
- * @void
+ * @return void
*/
public function forceDownloadAction()
{