Code Duplication    Length = 8-13 lines in 2 locations

src/Standards/BestIt/CodeSniffer/Helper/DocDescriptionHelper.php 1 location

@@ 333-345 (lines=13) @@
330
     *
331
     * @return void
332
     */
333
    private function fixDescriptionUcFirst($descriptionStartPtr)
334
    {
335
        $descStartToken = $this->tokens[$descriptionStartPtr];
336
337
        $this->file->getFixer()->beginChangeset();
338
339
        $this->file->getFixer()->replaceToken(
340
            $descriptionStartPtr,
341
            ucfirst($descStartToken['content'])
342
        );
343
344
        $this->file->getFixer()->endChangeset();
345
    }
346
}
347

src/Standards/BestIt/CodeSniffer/Helper/DocSummaryHelper.php 1 location

@@ 275-282 (lines=8) @@
272
     *
273
     * @return void
274
     */
275
    private function fixSummaryUcFirst(array $summaryToken, $summaryPtr)
276
    {
277
        $this->file->getFixer()->beginChangeset();
278
279
        $this->file->getFixer()->replaceToken($summaryPtr, ucfirst($summaryToken['content']));
280
281
        $this->file->getFixer()->endChangeset();
282
    }
283
}
284