Phpdoc No Summary found for this file

后端 未结 7 1032
轮回少年
轮回少年 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:34

    @ashnazg is right but I want to improve your answer with an example.

    A File-level DocBlock should be the first docblock and must have a Summary (in this example the summary is "Class Category | core/Category.class.php"). Then a Class-level DocBlock is placed before a class definition.

    
     * @version     v.1.1 (06/12/2016)
     * @copyright   Copyright (c) 2016, Sandro
     */
    
    namespace Myapp;
    
    use \PDO;
    use \Exception;
    use \PDOException;
    
    /**
     * Class Category - active record
     *
     * Recipe categories
     */
    class Category {
    
        ...
    

提交回复
热议问题