GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 31-31 lines in 2 locations

docs/source/API/API/cache/twig/82/82bfbced5585e79b700550b20d4d1fa3eaa83d8b4455be3247eb417e6610cbbd.php 2 locations

@@ 121-151 (lines=31) @@
118
    }
119
120
    // line 15
121
    public function macro_method_link($__method__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__)
122
    {
123
        $context = $this->env->mergeGlobals(array(
124
            "method" => $__method__,
125
            "absolute" => $__absolute__,
126
            "classonly" => $__classonly__,
127
            "varargs" => $__varargs__,
128
        ));
129
130
        $blocks = array();
131
132
        ob_start();
133
        try {
134
            // line 16
135
            echo "<a href=\"";
136
            echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForMethod($context, (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 16, $this->getSourceContext()); })()));
137
            echo "\">";
138
            // line 17
139
            echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "class", array()));
140
            if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), false)) : (false))) {
141
                echo "::";
142
                echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "name", array());
143
            }
144
            // line 18
145
            echo "</a>";
146
147
            return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
148
        } finally {
149
            ob_end_clean();
150
        }
151
    }
152
153
    // line 21
154
    public function macro_property_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__)
@@ 154-184 (lines=31) @@
151
    }
152
153
    // line 21
154
    public function macro_property_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__)
155
    {
156
        $context = $this->env->mergeGlobals(array(
157
            "property" => $__property__,
158
            "absolute" => $__absolute__,
159
            "classonly" => $__classonly__,
160
            "varargs" => $__varargs__,
161
        ));
162
163
        $blocks = array();
164
165
        ob_start();
166
        try {
167
            // line 22
168
            echo "<a href=\"";
169
            echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForProperty($context, (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 22, $this->getSourceContext()); })()));
170
            echo "\">";
171
            // line 23
172
            echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "class", array()));
173
            if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), true)) : (true))) {
174
                echo "#";
175
                echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "name", array());
176
            }
177
            // line 24
178
            echo "</a>";
179
180
            return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
181
        } finally {
182
            ob_end_clean();
183
        }
184
    }
185
186
    // line 27
187
    public function macro_hint_link($__hints__ = null, ...$__varargs__)