Code Duplication    Length = 10-11 lines in 2 locations

module/Jobs/src/Jobs/Controller/ManageController.php 2 locations

@@ 293-302 (lines=10) @@
290
            }
291
            $pageLinkNext = null;
292
            $pageLinkPrevious = null;
293
            if (0 < $pageIdentifier) {
294
                $pageLinkPrevious = $this->url()->fromRoute(
295
                    'lang/jobs/manage',
296
                    [],
297
                    ['query' => [
298
                        'id' => $jobEntity->getId(),
299
                        'page' => $pageIdentifier - 1]
300
                    ]
301
                );
302
            }
303
            if ($pageIdentifier < count($pageToForm) - 1) {
304
                $pageLinkNext     = $this->url()->fromRoute(
305
                    'lang/jobs/manage',
@@ 303-313 (lines=11) @@
300
                    ]
301
                );
302
            }
303
            if ($pageIdentifier < count($pageToForm) - 1) {
304
                $pageLinkNext     = $this->url()->fromRoute(
305
                    'lang/jobs/manage',
306
                    [],
307
                    [
308
                        'query' => [
309
                            'id' => $jobEntity->getId(),
310
                            'page' => $pageIdentifier + 1]
311
                    ]
312
                );
313
            }
314
            $completionLink = $this->url()->fromRoute(
315
                'lang/jobs/completion',
316
                [ 'id' => $jobEntity->getId()]