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 = 9-9 lines in 2 locations

web/app/themes/stash/lib/controller.php 2 locations

@@ 147-155 (lines=9) @@
144
        /**
145
         * Loop though set pages in functions.php->setControllers()
146
         */
147
        foreach ($this->parentPages as $key => $page) {
148
            if ($parentId == $this->returnId($key)) {
149
                /**
150
                 * See if controller excists else fall back to default
151
                 */
152
                $file = get_template_directory() . '/controllers/pages/' . $page . '.php';
153
                $this->found = $page;
154
            }
155
        }
156
157
        /**
158
         * Loop though set pages in functions.php->setControllers()
@@ 160-168 (lines=9) @@
157
        /**
158
         * Loop though set pages in functions.php->setControllers()
159
         */
160
        foreach ($this->pages as $key => $page) {
161
            if ($pageId == $this->returnId($key)) {
162
                /**
163
                 * See if controller excists else fall back to default
164
                 */
165
                $file = get_template_directory() . '/controllers/pages/' . $page . '.php';
166
                $this->found = $page;
167
            }
168
        }
169
170
        if ($file && file_exists($file)) {
171