Code Duplication    Length = 14-14 lines in 2 locations

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

@@ 294-307 (lines=14) @@
291
     *
292
     * @return void
293
     */
294
    private function fixNoLineAfterDescription()
295
    {
296
        $descEndPtr = $this->getCommentDescriptionEndPointer();
297
        $descEndToken = $this->tokens[$descEndPtr];
298
299
        $this->file->fixer->beginChangeset();
300
301
        $this->file->fixer->addContent(
302
            $descEndPtr,
303
            $this->file->eolChar . str_repeat('    ', $descEndToken['level']) . ' *'
304
        );
305
306
        $this->file->fixer->endChangeset();
307
    }
308
309
    /**
310
     * Fixes much lines after description.

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

@@ 232-245 (lines=14) @@
229
     *
230
     * @return void
231
     */
232
    private function fixNoLineAfterSummary()
233
    {
234
        $summaryPtr = $this->getCommentSummaryPointer();
235
        $summaryToken = $this->getCommentSummaryToken();
236
237
        $this->file->fixer->beginChangeset();
238
239
        $this->file->fixer->addContent(
240
            $summaryPtr,
241
            $this->file->eolChar . str_repeat('    ', $summaryToken['level']) . ' *'
242
        );
243
244
        $this->file->fixer->endChangeset();
245
    }
246
247
    /**
248
     * Fixes summary not first statement.