Code Duplication    Length = 3-3 lines in 2 locations

lib/Drupal/Component/Gettext/PoHeader.php 2 locations

@@ 354-356 (lines=3) @@
351
          if ($op == ":") {
352
            $f = $element_stack[$i - 2] . "):" . $element_stack[$i - 1] . ")";
353
          }
354
          elseif ($op == "?") {
355
            $f = "(" . $element_stack[$i - 2] . "?(" . $element_stack[$i - 1];
356
          }
357
          else {
358
            $f = "(" . $element_stack[$i - 2] . $op . $element_stack[$i - 1] . ")";
359
          }
@@ 357-359 (lines=3) @@
354
          elseif ($op == "?") {
355
            $f = "(" . $element_stack[$i - 2] . "?(" . $element_stack[$i - 1];
356
          }
357
          else {
358
            $f = "(" . $element_stack[$i - 2] . $op . $element_stack[$i - 1] . ")";
359
          }
360
          array_splice($element_stack, $i - 2, 3, $f);
361
          break;
362
        }