Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 前端页面宽度\u下载中心扩展返回错误_Typo3_Typo3 9.x - Fatal编程技术网

Typo3 前端页面宽度\u下载中心扩展返回错误

Typo3 前端页面宽度\u下载中心扩展返回错误,typo3,typo3-9.x,Typo3,Typo3 9.x,我尝试将pits_downloadcenter扩展名与TYPO3 9.5.7一起使用,当我尝试在前端查看页面时,会出现以下错误: 条令\Common\Annotations\AnnotationException[语义错误] 方法中的批注“@void” PITS\PitsDownloadcenter\Controller\DownloadController::forceDownloadAction() 从来没有进口过。你有没有忘了为你的工作添加一个“使用”语句 这个注释 我向扩展添加了一个pu

我尝试将pits_downloadcenter扩展名与TYPO3 9.5.7一起使用,当我尝试在前端查看页面时,会出现以下错误:

条令\Common\Annotations\AnnotationException[语义错误] 方法中的批注“@void” PITS\PitsDownloadcenter\Controller\DownloadController::forceDownloadAction() 从来没有进口过。你有没有忘了为你的工作添加一个“使用”语句 这个注释


我向扩展添加了一个pull请求,可以在这里找到:

改变是相当容易的

--- 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()
     {

我向扩展添加了一个pull请求,可以在这里找到:

改变是相当容易的

--- 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()
     {