Code Duplication    Length = 29-29 lines in 2 locations

src/Standards/BestIt/Sniffs/Commenting/ClassDocSniff.php 1 location

@@ 68-96 (lines=29) @@
65
     *
66
     * @return array List of disallowed tokens
67
     */
68
    public function getDisallowedTags(): array
69
    {
70
        return [
71
            '@api',
72
            '@category',
73
            '@copyright',
74
            '@example',
75
            '@filesource',
76
            '@global',
77
            '@ignore',
78
            '@internal',
79
            '@license',
80
            '@method',
81
            '@param',
82
            '@property',
83
            '@property-read',
84
            '@property-write',
85
            '@return',
86
            '@see',
87
            '@since',
88
            '@source',
89
            '@subpackage',
90
            '@throws',
91
            '@todo',
92
            '@uses',
93
            '@var',
94
            '@inheritdoc'
95
        ];
96
    }
97
}
98

src/Standards/BestIt/Sniffs/Commenting/MethodDocSniff.php 1 location

@@ 66-94 (lines=29) @@
63
     *
64
     * @return array List of disallowed tags
65
     */
66
    public function getDisallowedTags(): array
67
    {
68
        return [
69
            '@api',
70
            '@author',
71
            '@category',
72
            '@copyright',
73
            '@filesource',
74
            '@global',
75
            '@ignore',
76
            '@internal',
77
            '@license',
78
            '@link',
79
            '@method',
80
            '@package',
81
            '@property',
82
            '@property-read',
83
            '@property-write',
84
            '@see',
85
            '@since',
86
            '@source',
87
            '@subpackage',
88
            '@todo',
89
            '@uses',
90
            '@var',
91
            '@version',
92
            '@inheritdoc'
93
        ];
94
    }
95
}
96