Code Duplication    Length = 22-23 lines in 2 locations

docs/api/cache/twig/ca/cabd9c501db1fdf4798aa67be4554ef539f4e402fc11d18f345fb2751ddce45d.php 2 locations

@@ 123-145 (lines=23) @@
120
121
    ";
122
        // line 32
123
        if (($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortdesc", array()) || $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "longdesc", array()))) {
124
            // line 33
125
            echo "        <div class=\"description\">
126
            ";
127
            // line 34
128
            if ($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortdesc", array())) {
129
                // line 35
130
                echo "<p>";
131
                echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
132
                echo "</p>";
133
            }
134
            // line 37
135
            echo "            ";
136
            if ($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "longdesc", array())) {
137
                // line 38
138
                echo "<p>";
139
                echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "longdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
140
                echo "</p>";
141
            }
142
            // line 40
143
            echo "        </div>
144
    ";
145
        }
146
        // line 42
147
        echo "
148
    ";
@@ 722-743 (lines=22) @@
719
            echo "            <div class=\"method-description\">
720
                ";
721
            // line 230
722
            if (( !$this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array()) &&  !$this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array()))) {
723
                // line 231
724
                echo "                    <p class=\"no-description\">No description</p>
725
                ";
726
            } else {
727
                // line 233
728
                echo "                    ";
729
                if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array())) {
730
                    // line 234
731
                    echo "<p>";
732
                    echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "shortdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
733
                    echo "</p>";
734
                }
735
                // line 236
736
                echo "                    ";
737
                if ($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array())) {
738
                    // line 237
739
                    echo "<p>";
740
                    echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "longdesc", array()), (isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")));
741
                    echo "</p>";
742
                }
743
            }
744
            // line 240
745
            echo "            </div>
746
        ";