Phpdoc No Summary found for this file

后端 未结 7 1044
轮回少年
轮回少年 2021-01-11 12:09

I\'ve installed phpDoc on our server, set up etc. It\'s producing documentation correctly. We\'re using the \'Responsive\' template, however this error occurs regardless of

7条回答
  •  盖世英雄少女心
    2021-01-11 12:09

    But does the top of your file have two such docblocks? The first docblock is expected to be the one for the file itself, and a second docblock should pair up with the first documentable code element that appears after it.

    However, if you only have one docblock at the top of the file, it will get paired up with the first code element found, thus the "file itself" will seem to be missing its docblock. That is what that error is supposed to indicate.

提交回复
热议问题