Code Duplication    Length = 5-5 lines in 3 locations

manager/includes/src/Legacy/Modifiers.php 3 locations

@@ 480-484 (lines=5) @@
477
                $this->condition[] = '&&';
478
                break;
479
            case 'show':
480
            case 'this':
481
                $conditional = implode(' ', $this->condition);
482
                $isvalid = (int)(eval("return ({$conditional});"));
483
                if ($isvalid) {
484
                    return $this->srcValue;
485
                }
486
487
                return null;
@@ 488-492 (lines=5) @@
485
                }
486
487
                return null;
488
            case 'then':
489
                $conditional = implode(' ', $this->condition);
490
                $isvalid = (int)eval("return ({$conditional});");
491
                if ($isvalid) {
492
                    return $opt;
493
                }
494
495
                return null;
@@ 496-500 (lines=5) @@
493
                }
494
495
                return null;
496
            case 'else':
497
                $conditional = implode(' ', $this->condition);
498
                $isvalid = (int)eval("return ({$conditional});");
499
                if (!$isvalid) {
500
                    return $opt;
501
                }
502
                break;
503
            case 'select':