Code Duplication    Length = 13-14 lines in 2 locations

src/allejo/stakx/Manager/PageManager.php 2 locations

@@ 259-271 (lines=13) @@
256
     *
257
     * @since 0.1.0
258
     */
259
    private function handleTrackableStaticPageView(&$pageView)
260
    {
261
        $pageView->evaluateFrontMatter([], [
262
            'site' => $this->configuration->getConfiguration(),
263
        ]);
264
265
        if (empty($pageView['title']))
266
        {
267
            return;
268
        }
269
270
        $this->staticPages[$pageView['title']] = &$pageView;
271
    }
272
273
    /**
274
     * Handle special behavior and treatment for dynamic PageViews while we're iterating through them.
@@ 341-354 (lines=14) @@
338
     *
339
     * @since 0.2.0
340
     */
341
    private function handleTrackableRepeaterPageView(&$pageView)
342
    {
343
        $pageView->evaluateFrontMatter([], [
344
            'site' => $this->configuration->getConfiguration(),
345
        ]);
346
        $pageView->configurePermalinks();
347
348
        if (empty($pageView['title']))
349
        {
350
            return;
351
        }
352
353
        $this->repeaterPages[$pageView['title']] = &$pageView;
354
    }
355
356
    private function registerExplicitAssets(ContentItem $contentItem)
357
    {