Code Duplication    Length = 9-9 lines in 3 locations

source/DomComponentsByDanielGP.php 3 locations

@@ 351-359 (lines=9) @@
348
                            }
349
                            $sReturn .= '\');"><i class="fa fa-times">&nbsp;</i></a>';
350
                            break;
351
                        case 'edit':
352
                            $sReturn .= $this->setDynamicActionToSpecialCell($value, $aElements, [
353
                                'vIcon'    => 'fa fa-pencil',
354
                                'aPrefix'  => $actPrfx,
355
                                'aKey'     => $action_key,
356
                                'rCounter' => $rCntr,
357
                                'Features' => $ftrs,
358
                            ]);
359
                            break;
360
                        case 'list2':
361
                            $sReturn .= $this->setDynamicActionToSpecialCell($value, $aElements, [
362
                                'vIcon'    => 'fa fa-list',
@@ 360-368 (lines=9) @@
357
                                'Features' => $ftrs,
358
                            ]);
359
                            break;
360
                        case 'list2':
361
                            $sReturn .= $this->setDynamicActionToSpecialCell($value, $aElements, [
362
                                'vIcon'    => 'fa fa-list',
363
                                'aPrefix'  => $actPrfx,
364
                                'aKey'     => $action_key,
365
                                'rCounter' => $rCntr,
366
                                'Features' => $ftrs,
367
                            ]);
368
                            break;
369
                        case 'schedule':
370
                            $sReturn .= $this->setDynamicActionToSpecialCell($value, $aElements, [
371
                                'vIcon'    => 'fa fa-hourglass-half',
@@ 369-377 (lines=9) @@
366
                                'Features' => $ftrs,
367
                            ]);
368
                            break;
369
                        case 'schedule':
370
                            $sReturn .= $this->setDynamicActionToSpecialCell($value, $aElements, [
371
                                'vIcon'    => 'fa fa-hourglass-half',
372
                                'aPrefix'  => $actPrfx,
373
                                'aKey'     => $action_key,
374
                                'rCounter' => $rCntr,
375
                                'Features' => $ftrs,
376
                            ]);
377
                            break;
378
                    }
379
                    $action_argument += 1;
380
                }